Returns a derivation of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes.
- type
- The Type to serialize.
- overrides
- An System.Xml.Serialization.XmlAttributeOverrides that contains fields that override the default serialization behavior.
A derivation of the System.Xml.Serialization.XmlSerializer.
Calling this overload is similar to calling the XmlSerializer.#ctor(Type, XmlAttributeOverrides) to create an instance of the System.Xml.Serialization.XmlSerializer class.