|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
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.
Pointer to the container document that will contain this item. This can be any COleDocument derivative.
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: