Aracılığıyla paylaş


RequiredRuntimeAttribute(String) Constructor

Definition

Constructor taking a version, such as "v2.0".

public:
 RequiredRuntimeAttribute(System::String ^ runtimeVersion);
public RequiredRuntimeAttribute (string runtimeVersion);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public RequiredRuntimeAttribute (string runtimeVersion);
new Microsoft.Build.Framework.RequiredRuntimeAttribute : string -> Microsoft.Build.Framework.RequiredRuntimeAttribute
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.RequiredRuntimeAttribute : string -> Microsoft.Build.Framework.RequiredRuntimeAttribute
Public Sub New (runtimeVersion As String)

Parameters

runtimeVersion
String

The version of the CLR runtime required prefaced with a "v," such as "v2.0."

Attributes

Applies to