Reads or writes this object from or to an archive.
A CArchive object to serialize to or from.
You must override Serialize for each class that you intend to serialize. The overridden Serialize must first call the Serialize function of its base class.
For serialization examples, see the article Serialization: Serializing an Object.