VersionControlLabelDocumentItem.Exists Property

Always true for files. For folders, this will be false if the item does not occur in the label, but occurs in our tree view of the label in order to serve as a parent to children that are actually in the label. In the UI these nodes are shown greyed-out and for some properties in the tree view, show "Not in label"

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Public ReadOnly Property Exists As Boolean
public bool Exists { get; }
public:
property bool Exists {
    bool get ();
}
member Exists : bool with get
function get Exists () : boolean

Property Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

VersionControlLabelDocumentItem Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace