Поделиться через


CDocObjectServerItem::GetDocument

Retrieves a pointer to the document that contains the item.

COleServerDoc* GetDocument( ) const;

Возвращаемое значение

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

Заметки

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

Требования

Header: afxdocob.h

См. также

Основные понятия

CDocObjectServerItem Class

CDocObjectServerItem Members

Hierarchy Chart

CDocObjectServer Class