Share via


LabelVersionSpec Members

Include Protected Members
Include Inherited Members

Specifies a version based on a label.

The LabelVersionSpec type exposes the following members.

Constructors

 

Name

Description

Public method

LabelVersionSpec

Overloaded. Initializes a new label.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether this instance is equal with the specified instance. (Overrides Object.Equals(Object).)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

Format

Formats a server or local path with the version specifier. (Inherited from VersionSpec.)

Public method

GetHashCode

Generates a hash code for this instance. (Overrides Object.GetHashCode().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Converts this object to a string. (Overrides VersionSpec.ToString().)

Top

Fields

 

Name

Description

Public fieldStatic member

Identifier

Identifier for this version spec in command-line usage.

Top

Properties

 

Name

Description

Public property

DisplayString

Gets the string representation of the version specification as a version specification format. (Inherited from VersionSpec.)

Public property

Label

Gets or sets the label.

Public property

Scope

Gets or sets the scope.

Top

See Also

Reference

LabelVersionSpec Class

Microsoft.TeamFoundation.VersionControl.Client Namespace