VersionCol Object
See Also
A version collection is a collection of object versions. There are several different version collections you can establish:
-
The set of all versions of an object. (See the Versions-of-Object collection.)
-
The predecessors of an object version. (See the Predecessor-Versions collection.)
-
The successors of an object version. (See the Successor-Versions collection.)
-
The set of versions of a particular target object that are related to a particular source object version. (See the Target-Versions collection.)
-
The set of object versions present in a workspace. (See the Versions-of-Workspace collection.)
-
The set of workspaces in which a particular item is present. (See the Workspaces-of-Version collection.)
-
The set of object versions checked out to a workspace. (See the Checkouts-of-Workspace collection.)
When to Use
Use the VersionCol object to manage the contents of a workspace, to manage the target object versions of a versioned relationship, to navigate an object's version graph, or to manipulate all the versions of a particular object.
Properties
Property |
Description |
Count |
The count of the number of object versions in the collection. |
Item |
Retrieves the specified object version from the collection. |
Methods
Method |
Description |
Add |
Adds an object version to the collection. |
Refresh |
Refreshes the cached image of the collection. |
Remove |
Removes an object version from the collection. |