The Remove method removes an item from a collection, given the index of the item.
HRESULT ICatalogCollection::Remove(
long 1Index);
Parameters
1Index [in]
Index position of the object to remove.
Return Values
S_OK
Method completed successfully.
E_INVALIDARG
Invalid index was entered.
E_NOTIMPL
Collection does not support removing objects.
Remarks
See the Using MTS Collections topic for a list of the MTS collections and their properties.