Partager via


COleServerItem::GetDocument

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

COleServerDoc* GetDocument( ) const;

Return Value

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

Remarks

This allows access to the server document that you passed as an argument to the COleServerItem constructor.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleServerItem::COleServerItem

COleServerDoc Class