This documentation is archived and is not being maintained.

VersionSpec Members

A utility class for parsing version specifications.

The following tables list the members exposed by the VersionSpec type.

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

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

(see also Protected Methods )
  Name Description
Public method Static AddDeletionModifierIfNecessary Formats a path to include the deletion identifier if it is non-zero.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method Format Formats a server or local path with the version specifier.  
Public method Static FormatRange Formats a server or local path with the version range specified.  
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Static Parse Converts a version string into an array of VersionSpec objects.  
Public method Static ParseSingleSpec Converts a version string without a range specifier to a VersionSpec object.  
Public method Static ParseVersionedFileSpec Overloaded. Parse a versioned file spec.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method Static ReorderVersionSpecs Reorders VersionSpec instances in into the correct order.  
Public method ToString Overridden.

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)