IRepositoryObjectVersion::get_PredecessorCreationVersion

See Also

Retrieves an interface pointer to the predecessor object version from which the current object version was created.

HRESULT get_PredecessorCreationVersion(
IRepositoryObjectVersion **ppPredCreationVersion
);

Parameters

**ppPredCreationVersion

[out]
The IRepositoryObjectVersion interface pointer for the object version from which the current object version was created.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.

Remarks

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