This documentation is archived and is not being maintained.

LabelVersionSpec Class

Specifies a version based on a label.


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

public class LabelVersionSpec : VersionSpec

The LabelVersionSpec type exposes the following members.

Public propertyLabelLabel name.
Public propertyScopeLabel scope (path representing point of the tree where the label lives).

Public methodCompareTo (Overrides VersionSpec.CompareTo(VersionSpec).)
Public methodEquals (Inherited from VersionSpec.)
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 methodGetHashCode (Overrides VersionSpec.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToChangesetTranslates this version spec into a changeset number for the given item spec. If the version specifier cannot be represented as a changeset, returns UnknownChangeset. (Inherited from VersionSpec.)
Public methodToDBString (Overrides VersionSpec.ToDBString(TeamFoundationRequestContext).)
Public methodToString (Overrides Object.ToString().)

Protected fieldm_useMappings (Inherited from VersionSpec.)

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