Partager via


CDocObjectServerItem::GetDocument

Retrieves 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 CDocObjectServerItem constructor.

Requirements

Header: afxdocob.h

See Also

Reference

CDocObjectServerItem Class

Hierarchy Chart

CDocObjectServer Class

Other Resources

CDocObjectServerItem Members