COleDocument::AddItem

virtual void AddItem( CDocItem* pItem );

Parameters

pItem

Pointer to the document item being added.

Remarks

Call this function to add an item to the document. You do not need to call this function explicitly when it is called by the COleClientItem or COleServerItem constructor that accepts a pointer to a document.

COleDocument OverviewClass MembersHierarchy Chart

See Also   CDocItem, COleDocument::RemoveItem, COleServerItem::COleServerItem, COleClientItem::COleClientItem