Serialization : Deserializing members not present in archive

Hey, I have a class with a few data members that is serializable. Note that, I already have an archive ( test.txt ). Now, I want to serialize a couple more members. I went ahead and added the new members to my serialize functions. When I read from the archive ( test.txt ) , I get an exception. This is understandable, because the archive doesn't have the new members that I'm trying to read out. My question is, is there a way to check for the existence of a member before deserializing an object from the archive ? Thanks in advance, Sandeep.

This is contemplated through the usage of class versioning. See documentation.
Robert Ramey
"Booster Booster"
participants (2)
-
Booster Booster
-
Robert Ramey