VersionControlLabel 类

表示版本控制标签。

继承层次结构

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
Public NotInheritable Class VersionControlLabel
public sealed class VersionControlLabel

VersionControlLabel 类型公开以下成员。

构造函数

  名称 说明
公共方法 VersionControlLabel 创建将发送给服务器源代码管理标签的表示形式。

页首

属性

  名称 说明
公共属性 ArtifactUri 获取项目此标签的统一资源标识符 (URI)。
公共属性 Comment 获取此标签的注释。
公共属性 Items 获取与此标签的项。
公共属性 LabelId 获取此标签 ID。
公共属性 LastModifiedDate 获取此标签上次修改的 date+time。
公共属性 Name 获取此标签的名称。
公共属性 OwnerDisplayName 拥有此标签用户的显示名称。
公共属性 OwnerName 获取此标签的所有者。
公共属性 Scope 获取范围此标签。
公共属性 VersionControlServer 获取包含此标签的储存库。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString 创建描述此 VersionControlLabel 实例属性的用户可读的字符串。 (重写 Object.ToString()。)

页首

线程安全

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

请参阅

参考

Microsoft.TeamFoundation.VersionControl.Client 命名空间