共用方式為


CDocItem Class

The base class for document items, which are components of a document's data.

class CDocItem : public CCmdTarget

Members

Public Methods

Name

Description

CDocItem::GetDocument

Returns the document that contains the item.

CDocItem::IsBlank

Determines whether the item contains any information.

Remarks

CDocItem objects are used to represent OLE items in both client and server documents.

For more information, see the article Containers: Implementing a Container.

Inheritance Hierarchy

CObject

CCmdTarget

CDocItem

Requirements

Header: afxole.h

See Also

Reference

CCmdTarget Class

Hierarchy Chart

COleDocument Class

COleServerItem Class

COleClientItem Class