Udostępnij za pośrednictwem


CMFCToolBarButton::Serialize

Reads this object from an archive or writes it to an archive.

virtual void Serialize(
   CArchive& ar
);

Parameters

  • [in] ar
    The CArchive object from which or to which to serialize.

Remarks

This method supports data transfer processes such as clipboard or drag-and-drop operations. It reads or writes properties of the button such as the ID, text label, and image ID from or to the provided CArchive object.

For serialization examples, see Serialization: Serializing an Object.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

CArchive Class

Concepts

Serialization: Serializing an Object