VersionSpec Methods

Include Protected Members
Include Inherited Members

The VersionSpec type exposes the following members.

Methods

 

Name

Description

Public methodStatic member

AddDeletionModifierIfNecessary

Formats a path to include the deletion identifier if it is non-zero.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

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

Format

Formats a server or local path with the version specifier.

Public methodStatic member

FormatRange

Formats a server or local path with the version range specified.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

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 methodStatic member

Parse

Converts a version string into an array of VersionSpec objects.

Public methodStatic member

ParseSingleSpec

Converts a version string without a range specifier to a [VersionSpec] object.

Public methodStatic member

ParseVersionedFileSpec

Overloaded. Parse a versioned file spec.

Public methodStatic member

ReorderVersionSpecs

Reorders VersionSpec instances in into the correct order.

Public method

ToString

(Overrides Object.ToString().)

Top

See Also

Reference

VersionSpec Class

Microsoft.TeamFoundation.VersionControl.Client Namespace