A SuccessorVersions collection contains all of the RepositoryObjectVersion objects that are immediate successors of the current object version.
Set variable = object.SuccessorVersions
The SuccessorVersions collection syntax has the following parts.
Part | Description |
variable | A variable declared as a VersionCol object. Receives a reference to the SuccessorVersions collection. |
object | An object expression that evaluates to a RepositoryObjectVersion object. |
This method returns only the immediate successors of the current object version.
If the current object version has no successors, this method returns an empty collection.
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 enlarge an object's set of successor versions, use the CreateVersion method of the RepositoryObjectVersion object.