ICatalogCollection::Remove method
Applies to: desktop apps only
Removes an item from the collection, given its index, and re-indexes the items with higher index values.
Syntax
HRESULT Remove( [in] long lIndex );
Parameters
- lIndex [in]
-
The zero-based index of the item to be removed.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
The RemoveEnabled property indicates whether the collection supports this method.
When an object is removed, the Count property is decremented to reflect the change.
These changes are not reflected in the COM+ catalog data store until you call SaveChanges.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
IDL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012