Поделиться через


COleDocument::AddItem

Call this function to add an item to the document.

virtual void AddItem(
   CDocItem* pItem 
);

Параметры

  • pItem
    Pointer to the document item being added.

Заметки

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.

Требования

Header: afxole.h

См. также

Основные понятия

COleDocument Class

COleDocument Members

Hierarchy Chart

CDocItem Class

COleDocument::RemoveItem

COleServerItem::COleServerItem

COleClientItem::COleClientItem