PlatformConfiguration 类

表示解决方案或项目中生成平台和配置对。

继承层次结构

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.PlatformConfiguration

命名空间:  Microsoft.TeamFoundation.Build.Workflow.Activities
程序集:  Microsoft.TeamFoundation.Build.Workflow(在 Microsoft.TeamFoundation.Build.Workflow.dll 中)

语法

声明
<SerializableAttribute> _
Public Class PlatformConfiguration
[SerializableAttribute]
public class PlatformConfiguration

PlatformConfiguration 类型公开以下成员。

构造函数

  名称 说明
公共方法 PlatformConfiguration() 初始化 PlatformConfiguration 选件类的新实例。
公共方法 PlatformConfiguration(String, String) 初始化 PlatformConfiguration 选件类的新实例。

页首

属性

  名称 说明
公共属性 Configuration 获取或设置可以生成解决方案或项目的配置。
公共属性静态成员 Default 获取空 PlatformConfiguration 对象。
公共属性 IsConfigurationEmpty 获取描述的标志 Configuration 属性是否未设置为。
公共属性 IsEmpty 获取一 ConfigurationPlatform 指示属性是否未设置任何标志。
公共属性 IsPlatformEmpty 获取描述的标志 Platform 属性是否未设置为。
公共属性 IsPlatformEmptyOrAnyCpu 获取描述的标志 Platform 属性是否设置为“任意 CPU”或为空。
公共属性 Platform 获取或设置一个可以生成解决方案或项目的平台的该字符串。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法静态成员 FromString
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 获取描述此实例的属性一个用户可读的字符串。 (重写 Object.ToString()。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.TeamFoundation.Build.Workflow.Activities 命名空间