COleClientItem::COleClientItem

COleClientItem(COleDocument*pContainerDoc=NULL);

Parameters

pContainerDoc

Pointer to the container document that will contain this item. This can be any COleDocument derivative.

Remarks

Constructs a COleClientItem object and adds it to the container document’s collection of document items, which constructs only the C++ object and does not perform any OLE initialization. If you pass a NULL pointer, no addition is made to the container document. You must explicitly call COleDocument::AddItem.

You must call one of the following creation member functions before you use the OLE item:

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleDocument, COleDocument::AddItem