Workspace ObjectVersions Collection

See Also

The ObjectVersions collection contains all of the RepositoryObjectVersion objects that are versions of the same Repository object.

Syntax

Set variable = object.ObjectVersions

The ObjectVersions collection syntax has the following parts.

Part Description
variable A variable declared as a VersionCol object. Receives a reference to the Versions-of-Object collection.
object An object expression that evaluates to a Workspace object.

Remarks

Remember that each Workspace object has exactly one version (because you cannot invoke the CreateVersion method on a workspace). Thus, this collection always contains exactly one item.