Specifies a version based on a changeset number.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
    Microsoft.TeamFoundation.VersionControl.Client.ChangesetVersionSpec
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public NotInheritable Class ChangesetVersionSpec _
    Inherits VersionSpec
public sealed class ChangesetVersionSpec : VersionSpec
public ref class ChangesetVersionSpec sealed : public VersionSpec
[<Sealed>]
type ChangesetVersionSpec =  
    class 
        inherit VersionSpec 
    end
public final class ChangesetVersionSpec extends VersionSpec
The ChangesetVersionSpec type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ChangesetVersionSpec(Int32) | Initializes a new ChangesetVersionSpec instance. | 
| .gif) | ChangesetVersionSpec(String) | Initializes a new ChangesetVersionSpec instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ChangesetId | Gets or sets the ID for a changeset. | 
| .gif) | DisplayString | Gets the string representation of the version specification. (Inherited from VersionSpec.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether this ChangesetVersionSpec instance is equal to the specified instance. (Overrides Object.Equals(Object).) | 
| .gif) | Format | Formats a path by using the version specifier. (Inherited from VersionSpec.) | 
| .gif) | GetHashCode | Generates a hash code for this instance. (Overrides Object.GetHashCode().) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) .gif) | ParseChangesetNumber | Parses the string as a changeset number. Throws an exception if the changeset number is not a valid changeset integer. | 
| .gif) | ToString | Creates a user-readable string that describes the properties of a ChangesetVersionSpec object. (Overrides VersionSpec.ToString().) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | Identifier | Identifier for this version spec in command-line usage. | 
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.