Delen via


LabelVersionSpec Class

Specifies a version based on a label.

Inheritance Hierarchy

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)

Syntax

'Declaration
Public Class LabelVersionSpec _
    Inherits VersionSpec
public class LabelVersionSpec : VersionSpec
public ref class LabelVersionSpec : public VersionSpec
type LabelVersionSpec =  
    class 
        inherit VersionSpec 
    end
public class LabelVersionSpec extends VersionSpec

The LabelVersionSpec type exposes the following members.

Constructors

  Name Description
Public method LabelVersionSpec

Top

Properties

  Name Description
Public property Label Label name.
Public property Scope Label scope (path representing point of the tree where the label lives).

Top

Methods

  Name Description
Public method CompareTo (Overrides VersionSpec.CompareTo(VersionSpec).)
Public method Equals (Inherited from VersionSpec.)
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 GetHashCode (Overrides VersionSpec.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 ToChangeset Translates 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 method ToDBString (Overrides VersionSpec.ToDBString(TeamFoundationRequestContext).)
Public method ToString (Overrides Object.ToString().)

Top

Fields

  Name Description
Protected field m_useMappings (Inherited from VersionSpec.)

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.Server Namespace