J John Grandy May 5, 2010 #1 How to mark a public member of a class so that it is not included in an xml serialization or deserialization ? Thanks.
How to mark a public member of a class so that it is not included in an xml serialization or deserialization ? Thanks.
F Family Tree Mike May 5, 2010 #2 How to mark a public member of a class so that it is not included in an xml serialization or deserialization ? Thanks. Click to expand... Mark the property with the attribute XmlIgnore as below: [XmlIgnore()] public string NotNecessaryString {get; set;}
How to mark a public member of a class so that it is not included in an xml serialization or deserialization ? Thanks. Click to expand... Mark the property with the attribute XmlIgnore as below: [XmlIgnore()] public string NotNecessaryString {get; set;}