R
RKS
I have a question regarding serialization. Although there are many
articles regarding this, I am still a little confused. I know that to
make a class serializable, I need to add a [Serialize] attribute. But
where should I add my serialize and deserialize code. I mean like
specifying the type of formatter and filename etc. I am used to
programming in Visual C++/MFC. Serialize (storing) is called in onSave
and Serialize (loading) gets called in onNew or onOpen.
Thanks for any help.
articles regarding this, I am still a little confused. I know that to
make a class serializable, I need to add a [Serialize] attribute. But
where should I add my serialize and deserialize code. I mean like
specifying the type of formatter and filename etc. I am used to
programming in Visual C++/MFC. Serialize (storing) is called in onSave
and Serialize (loading) gets called in onNew or onOpen.
Thanks for any help.