VersionControlLabelDocumentItem.Exists 属性
为文件始终为true。 对于文件夹,这将是错误的,如果项位于标签,不会发生,但在我们的标签的树视图以用作父到实际上是在标签的子级。 在UI这些节点在树视图中,显示灰色和某些属性为“没有标签”
命名空间: Microsoft.VisualStudio.TeamFoundation.VersionControl
程序集: Microsoft.VisualStudio.TeamFoundation.VersionControl(在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)
语法
声明
Public ReadOnly Property Exists As Boolean
public bool Exists { get; }
属性值
类型:System.Boolean
返回 Boolean。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。