RepositoryObjectVersion ObjectVersions Collection

See Also

An 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 these 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 RepositoryObjectVersion object.

Remarks

Within the returned collection, the Repository sequences the items in order of their creation, with the oldest object version first.

You cannot modify the collection. To add a new object version, use the CreateVersion method of the RepositoryObjectVersion object.