다음을 통해 공유


COleClientItem::COleClientItem

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.

COleClientItem(
   COleDocument* pContainerDoc = NULL 
);

Parameters

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

Remarks

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:

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleDocument Class

COleDocument::AddItem

Other Resources

COleClientItem Members