Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ChangesetVersionSpec Class
Collapse the table of content
Expand the table of content

ChangesetVersionSpec Class

Specifies a version based on a changeset number.


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

public sealed class ChangesetVersionSpec : VersionSpec

The ChangesetVersionSpec type exposes the following members.

Public methodChangesetVersionSpec(Int32)Initializes a new ChangesetVersionSpec instance.
Public methodChangesetVersionSpec(String)Initializes a new ChangesetVersionSpec instance.

Public propertyChangesetIdGets or sets the ID for a changeset.
Public propertyDisplayStringGets the string representation of the version specification. (Inherited from VersionSpec.)

Public methodEqualsDetermines whether this ChangesetVersionSpec instance is equal to the specified instance. (Overrides Object.Equals(Object).)
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 methodFormatFormats a path by using the version specifier. (Inherited from VersionSpec.)
Public methodGetHashCodeGenerates a hash code for this instance. (Overrides Object.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 methodStatic memberParseChangesetNumberParses the string as a changeset number. Throws an exception if the changeset number is not a valid changeset integer.
Public methodToStringCreates a user-readable string that describes the properties of a ChangesetVersionSpec object. (Overrides VersionSpec.ToString().)

Public fieldStatic memberIdentifierIdentifier for this version spec in command-line usage.

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

Community Additions

© 2015 Microsoft