ITransientObjectCol::Add

Meta Data Services Programming

Meta Data Services Programming

ITransientObjectCol::Add

Use this method to add target objects to an object collection.

Syntax

HRESULT Add( [in] IDispatch   *pIReposObj )

Parts

*pIReposObj

[in]
The repository object version to be added to the collection

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

Populating a TransientObjectCol is done using the Add method for each object that you want to add to the collection.

See Also

ITransientObjectCol Interface

ITransientObjectCol::Remove