COleClientItem::GetDocument

COleDocument* GetDocument( ) const;

Return Value

A pointer to the document that contains the OLE item. NULL if the item is not part of a document.

Remarks

Call this function to get a pointer to the document that contains the OLE item. This pointer allows access to the COleDocument object that you passed as an argument to the COleClientItem constructor.

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleClientItem::COleClientItem, COleDocument, COleLinkingDoc