This topic has not yet been rated - Rate this topic

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

ComAdmin.h

IDL

ComAdmin.Idl

See also

ICatalogCollection

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ