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


CDocItem::IsBlank

Called by the framework when default serialization occurs.

virtual BOOL IsBlank( ) const;

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

Nonzero if the item contains no information; otherwise 0.

Заметки

By default, CDocItem objects are not blank. COleClientItem objects are sometimes blank because they derive directly from CDocItem. However, COleServerItem objects are always blank. By default, OLE applications containing COleClientItem objects that have no x or y extent are serialized. This is done by returning TRUE from an override of IsBlank when the item has no x or y extent.

Override this function if you want to implement other actions during serialization.

Требования

Header: afxole.h

См. также

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

CDocItem Class

CDocItem Members

Hierarchy Chart

CObject::Serialize