IRepositoryObjectVersion::get_PredecessorVersions

See Also

Retrieves an interface pointer to the collection of all predecessor versions of the current object version.

HRESULT get_PredecessorVersions(
IVersionCol **ppPredVersions
);

Parameters

**ppPredVersions
[out]
The IVersionCol interface pointer for the collection of predecessor object versions.

Return Value

S_OK

The method completed successfully.

Error
Values

This method failed to complete successfully.

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, Microsoft® Repository sequences the items in order of their creation, with the oldest object version first.

You cannot modify the collection.

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