This documentation is archived and is not being maintained.

VersionControlLabelDocumentItem Class

Represents an item in a VersionControlLabelDocument


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

public sealed class VersionControlLabelDocumentItem

The VersionControlLabelDocumentItem type exposes the following members.

Public propertyCheckinDateIf Exists is true, this property will be non-null. The DateTime when Version was committed to the server.
Public propertyCommittedIf false, this item has not been saved to the server yet and is a "pending change" to this label.
Public propertyExistsAlways 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"
Public propertyItemIf Exists is true, this property will be non-null. The Item object for this item in the label.
Public propertyItemTypeThe ItemType of this item (file or folder)
Public propertyServerPathThe server path of this item.
Public propertyVersionIf Exists is true, this property will be non-null. The changeset number of the item as it is in the label.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.