Search code examples
c#.netserializationixmlserializable

Is it possible to exclude some members of a type from XmlSerializer serialization?


I have some public members I don't want to be serialized, was wondering if there is an attribute for it?


Solution

  • You are looking for XmlIgnore