Partager via


COleServerItem::COleServerItem

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

COleServerItem( 
   COleServerDoc* pServerDoc, 
   BOOL bAutoDelete  
);

Parameters

  • 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.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleDocument::AddItem