Partager via


CDocObjectServerItem::CDocObjectServerItem

Constructs a CDocObjectServerItem object.

CDocObjectServerItem(
   COleServerDoc* pServerDoc,
      BOOL bAutoDelete 
);

Parameters

  • pServerDoc
    A pointer to the document that will contain the new DocObject item.

  • bAutoDelete
    Indicates whether the object can be deleted when a link to it is released. Set the argument to FALSE if the CDocObjectServerItem object is an integral part of your document's data. Set it 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: afxdocob.h

See Also

Concepts

CDocObjectServerItem Class

CDocObjectServerItem Members

Hierarchy Chart

CDocObjectServer Class