This documentation is archived and is not being maintained.

VersionControlLabel Class

Represents a version control label.


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

public final class VersionControlLabel

The VersionControlLabel type exposes the following members.

Public methodVersionControlLabelCreates a representation of a source control label that will be sent to the server.

Public propertyArtifactUriGets the artifact uniform resource identifier (URI) for this label.
Public propertyCommentGets the comment of this label.
Public propertyItemsGets the items that are associated with this label.
Public propertyLabelIdGets the ID of this label.
Public propertyLastModifiedDateGets the date+time of the last modification of this label.
Public propertyNameGets the name of this label.
Public propertyOwnerDisplayNameDisplay name of the user who owns this label.
Public propertyOwnerNameGets the owner of this label.
Public propertyScopeGets the scope of this label.
Public propertyVersionControlServerGets the repository that contains this 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 methodToStringCreates a user-readable string that describes properties of this VersionControlLabel instance. (Overrides Object.ToString().)

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