Freigeben über


COleClientItem::GetDocument

Call this function to get a pointer to the document that contains the OLE item.

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

This pointer allows access to the COleDocument object that you passed as an argument to the COleClientItem constructor.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::COleClientItem

COleDocument Class

COleLinkingDoc Class