Share via


VersionControlLabelDocumentItem 类

表示在 VersionControlLabelDocument 的项目

继承层次结构

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocumentItem

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

语法

声明
Public NotInheritable Class VersionControlLabelDocumentItem
public sealed class VersionControlLabelDocumentItem

VersionControlLabelDocumentItem 类型公开以下成员。

属性

  名称 说明
公共属性 CheckinDate 如果 Exists 为 true,则此属性不为 null。 datetime,当版本提交给服务器。
公共属性 Committed 如果错误,此项目尚未保存到服务器,并为“挂起的更改”。此标签。
公共属性 Exists 为文件始终为 true。对于文件夹,这将是错误的,如果项位于标签,不会发生,但在我们的标签的树视图以用作父到实际上是在标签的子级。在 UI 这些节点在树视图中,显示灰色和某些属性为“没有标签”
公共属性 Item 如果 Exists 为 true,则此属性不为 null。 此项目的项目对象在标签。
公共属性 ItemType 此项目其中 ItemType (文件或文件夹)
公共属性 ServerPath 此项目服务器路径。
公共属性 Version 如果 Exists 为 true,则此属性不为 null。 项的变更集编号,其位于标签。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

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

请参阅

参考

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空间