alanchinese
Regular
- Joined
- Jan 12, 2005
- Messages
- 62
Using attribute "NonSerialized" on certain members of a class can disable serialization/deserialization.
I am wondering if I can change this attribute in the run time because sometimes I need these members to be deserialized, however sometimes I don't.
I can duplicate the class but maintaining two similar classes is a pain.
Thanks.
I am wondering if I can change this attribute in the run time because sometimes I need these members to be deserialized, however sometimes I don't.
I can duplicate the class but maintaining two similar classes is a pain.
Thanks.