A PredecessorVersions collection contains all of the RepositoryObjectVersion objects that are immediate predecessors of the current object version.
Set variable = object.PredecessorVersions
The PredecessorVersions collection syntax has the following parts.
Part | Description |
variable | A variable declared as a VersionCol object. Receives a reference to the Predecessor-Versions collection. |
object | An object expression that evaluates to a Workspace object. |
Remember that each Workspace object has exactly one version (because you cannot invoke the CreateVersion method on a workspace). Thus, this collection is always null.