RepositoryObjectVersion PredecessorVersions Collection

See Also

A PredecessorVersions collection contains all of the RepositoryObjectVersion objects that are immediate predecessors of the current object version.

Syntax

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

Remarks

This method returns only the immediate predecessors of the current object version.

If you invoke this method for the first version of an object, it returns an empty collection.

Within the returned collection, the Repository engine 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 predecessor versions, use the MergeVersion method of the RepositoryObjectVersion object.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.