LabelVersionSpec Class

Specifies a version based on a label.

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
    Microsoft.TeamFoundation.VersionControl.Server.LabelVersionSpec

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.

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

  NameDescription
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().)
Top

  NameDescription
Protected fieldm_useMappings (Inherited from VersionSpec.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft