VersionControlLabel Class

Represents a version control label.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel

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

Syntax

'Declaration
Public NotInheritable Class VersionControlLabel
public sealed class VersionControlLabel
public ref class VersionControlLabel sealed
[<Sealed>]
type VersionControlLabel =  class end
public final class VersionControlLabel

The VersionControlLabel type exposes the following members.

Constructors

  Name Description
Public method VersionControlLabel Creates a representation of a source control label that will be sent to the server.

Top

Properties

  Name Description
Public property ArtifactUri Gets the artifact uniform resource identifier (URI) for this label.
Public property Comment Gets the comment of this label.
Public property Items Gets the items that are associated with this label.
Public property LabelId Gets the ID of this label.
Public property LastModifiedDate Gets the date+time of the last modification of this label.
Public property Name Gets the name of this label.
Public property OwnerDisplayName Display name of the user who owns this label.
Public property OwnerName Gets the owner of this label.
Public property Scope Gets the scope of this label.
Public property VersionControlServer Gets the repository that contains this label.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Creates a user-readable string that describes properties of this VersionControlLabel instance. (Overrides Object.ToString().)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace