This documentation is archived and is not being maintained.

VersionSpec Methods

The VersionSpec type exposes the following members.

Public method Static 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 method Static 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 method Static member Parse Converts a version string into an array of VersionSpec objects.
Public method Static member ParseSingleSpec Converts a version string without a range specifier to a [VersionSpec] object.
Public method Static member ParseVersionedFileSpec Overloaded. Parse a versioned file spec.
Public method Static member ReorderVersionSpecs Reorders VersionSpec instances in into the correct order.
Public method ToString (Overrides Object.ToString().)