CDocument* GetDocument( ) const;
Return Value
A pointer to the document that contains the item; NULL, if the item is not part of a document.
Remarks
Call this function to get the document that contains the item.
This function is overridden in the derived classes COleClientItem and COleServerItem, returning a pointer to either a COleDocument, a COleLinkingDoc, or a COleServerDoc object.
CDocItem Overview | Class Members | Hierarchy Chart
See Also COleDocument, COleLinkingDoc, COleServerDoc, COleClientItem, COleServerItem