This documentation is archived and is not being maintained.
VersionControlLabel Class
Visual Studio 2013
Represents a label. Called a "VersionControlLabel" so that it does not conflict with System.Windows.Forms.Label.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
The VersionControlLabel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Comment | The label's comment, or null to leave alone. |
![]() | Items | A list of items and their versions that are contained in the label. Only used in the result of QueryLabels where includeItems = true. |
![]() | LabelId | The label's ID, as represented in the database. The label ID is used to generate the artifact name. |
![]() | LastModifiedDate | Timestamp of last label modification. |
![]() | Name | Label's name. Name + ServerItem must be unique. |
![]() | OwnerDisplayName | Display name of the user who owns this label. |
![]() | OwnerName | Identity name of the user who owns this label. |
![]() | OwnerUniqueName | Unique identity name of the user who owns this label. |
![]() | Scope | Server item path representing the label's scope. Name + Scope must be unique. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCachedSize | |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:
