Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionControlLabel Class

Represents a version control label.


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

public sealed 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 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.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (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.

Community Additions

© 2015 Microsoft