Dela via


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

Concepts

MFC Hierarchy Chart

Serialization: Serializing an Object

Reference

CMFCToolBarButton Class

CArchive Class