TargetPlatformSDK 类

定义

表示目标平台 sdk 的结构Structure to represent a target platform sdk

public ref class TargetPlatformSDK : IEquatable<Microsoft::Build::Utilities::TargetPlatformSDK ^>
public class TargetPlatformSDK : IEquatable<Microsoft.Build.Utilities.TargetPlatformSDK>
type TargetPlatformSDK = class
    interface IEquatable<TargetPlatformSDK>
Public Class TargetPlatformSDK
Implements IEquatable(Of TargetPlatformSDK)
继承
TargetPlatformSDK
实现

构造函数

TargetPlatformSDK(String, Version, String)

构造函数Constructor

属性

DisplayName

SDK 的显示名称,如果未定义,则为 null。The SDK's display name, or null if one is not defined.

MinOSVersion

清单中的最低操作系统版本Min OS version from manifest

MinVSVersion

清单中的最小 Visual Studio 版本Min Visual Studio version from manifest

Path

目标平台 sdk 的路径(如果存在),如果未安装目标平台,则可能不存在Path to target platform sdk if it exists, it may not if there is no target platform is installed

TargetPlatformIdentifier

目标平台标识符Target platform identifier

TargetPlatformVersion

目标平台版本Target platform version

方法

ContainsPlatform(String, String)

如果此 SDK 支持给定平台,则返回 true; 否则返回 false。Returns true if this SDK supports the given platform, or false otherwise.

Equals(Object)

重写 equalsOverride equals

Equals(TargetPlatformSDK)

实现 IEquatableImplement IEquatable

GetHashCode()

重写 GetHashCodeOverride GetHashCode

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于