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


COleServerItem::COleServerItem

Constructs a COleServerItem object and adds it to the server document's collection of document items.

COleServerItem(
   COleServerDoc* pServerDoc,
   BOOL bAutoDelete 
);

Параметры

  • pServerDoc
    Pointer to the document that will contain the new item.

  • bAutoDelete
    Flag indicating whether the object can be deleted when a link to it is released. Set this to FALSE if the COleServerItem object is an integral part of your document's data which you must delete. Set this to TRUE if the object is a secondary structure used to identify a range in your document's data that can be deleted by the framework.

Требования

Header: afxole.h

См. также

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

COleServerItem Class

COleServerItem Members

Hierarchy Chart

COleDocument::AddItem