I am confused about the serialization sample from MSDN,
My confusion is, in method GetObjectData (which is called during serialization), will the method,
(1) serialize both the additional data (in method GetObjectData from AddValue) and the fields/properties of the class; (2) or just write the data in method GetObjectData without writing fields/properties of the class?
I have debugged seems (2) is correct -- no fields/properties data are serialized if GetObjectData method is used? Is that correct? (I am not an expert and just want to confirm here, but 100% confident about myself.)