This collection contains all RepositoryObjectVersion objects that are versions of the same repository object.
Set variable = object.ObjectVersions
The ObjectVersions collection syntax has the following parts.
| Part | Description |
|---|---|
| variable | A variable declared as a VersionCol object. It receives a reference to the Versions-of-Object collection. |
| object | An object expression that evaluates to a Workspace object. |
Each Workspace object has only one version (because you cannot invoke the CreateVersion method on a workspace). Thus, this collection always contains only one item.