VersionSpec Members

A utility class for parsing version specifications.

The VersionSpec type exposes the following members.

  NameDescription
Protected method VersionSpec
Top

  NameDescription
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().)
Top

  NameDescription
Public field Static member DeletionModifier Deletion identifier. This is not a version specification, but rather a version modifier.
Public field Static member RangeSeparator Character used to separate the components of a version specification range.
Public field Static member Separator Character used to separate a file name from its version specification.
Top

  NameDescription
Public property DisplayString Gets the string representation of the version specification as a version specification format.
Public property Static member Latest Gets the VersionSpec that is the latest version requested from the database.
Top

Community Additions

ADD
Show: