Share via


COleDocument::RemoveItem

Call this function to remove an item from the document.

virtual void RemoveItem( 
   CDocItem* pItem  
);

Parameters

  • pItem
    Pointer to the document item to be removed.

Remarks

You typically do not need to call this function explicitly; it is called by the destructors for COleClientItem and COleServerItem.

Requirements

Header: afxole.h

See Also

Reference

COleDocument Class

Hierarchy Chart

COleServerItem Class

COleClientItem Class

COleDocument::AddItem

CDocItem Class