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 | |
---|---|---|
LabelVersionSpec |
Top
Properties
Name | Description | |
---|---|---|
Label | Label name. | |
Scope | Label scope (path representing point of the tree where the label lives). |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | (Overrides VersionSpec.CompareTo(VersionSpec).) | |
Equals | (Inherited from VersionSpec.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Overrides VersionSpec.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.) | |
ToDBString | (Overrides VersionSpec.ToDBString(TeamFoundationRequestContext).) | |
ToString | (Overrides Object.ToString().) |
Top
Fields
Name | Description | |
---|---|---|
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.