Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VersionSpec Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The VersionSpec type exposes the following members.

  Name Description
Public method Static member AddDeletionModifierIfNecessary(Item) Formats an item path to include the deletion ID if it is nonzero.
Public method Static member AddDeletionModifierIfNecessary(String, Int32) Formats a path to include the deletion ID if it is nonzero.
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 path by using the version specifier.
Public method Static member FormatRange Formats a server or local path by using the version range that is specified.
Public method GetHashCode Serves as the default hash function. (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(String, String) Converts a version specification string to an array of VersionSpec objects. Accommodates a range specifier.
Public method Static member Parse(String, String, String) Given a version string convert it to an array VersionSpec objects. If the version specification did not contain a range specifier then this will return an array of size one. Otherwise, an array of size two.
Public method Static member ParseSingleSpec(String, String) Converts a version specification string to a VersionSpec object.
Public method Static member ParseSingleSpec(String, String, String) Given a version string (without a range specifier), convert it to a VersionSpec object.
Public method Static member ParseVersionedFileSpec(String, String, String, VersionSpec[]) Parses a versioned file specification string of the form "filename;version".
Public method Static member ParseVersionedFileSpec(String, String, Int32, String, VersionSpec[]) Parses a versioned file specification string of the form "filename;version" or "filename;version;deletionID".
Public method Static member ParseVersionedFileSpec(String, String, String, Int32, String, VersionSpec[]) Parse a versioned file spec of the form filename;version or filename;version;deletionID.
Public method Static member ReorderVersionSpecs Swaps two VersionSpec instances if they are out of order.
Public method ToString Creates a user-readable string that describes this VersionSpec instance. (Overrides Object.ToString().)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.