共用方式為


ResolveSDKReference.TargetPlatformVersion Property

Gets or sets the target platform used to filter SDKs.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<RequiredAttribute> _
Public Property TargetPlatformVersion As String
[RequiredAttribute]
public string TargetPlatformVersion { get; set; }
[RequiredAttribute]
public:
property String^ TargetPlatformVersion {
    String^ get ();
    void set (String^ value);
}
[<RequiredAttribute>]
member TargetPlatformVersion : string with get, set
function get TargetPlatformVersion () : String 
function set TargetPlatformVersion (value : String)

Property Value

Type: System.String
The target platform used to filter SDKs.

.NET Framework Security

See Also

Reference

ResolveSDKReference Class

Microsoft.Build.Tasks Namespace