
public
XmlSerializer(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, string defaultNamespace, string location, Evidence evidence);
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML document instances, and deserialize XML document instances into objects of the specified type. This overload allows you to supply other types that can be encountered during a serialization or deserialization operation, as well as a default namespace for all XML elements, the class to use as the XML root element, its location, and credentials required for access.
Полное описание ...
Parameters:
type:
The type of the object that this System.Xml.Serialization.XmlSerializer can
serialize.
overrides:
An System.Xml.Serialization.XmlAttributeOverrides that extends or overrides
the behavior of the class specified in the type parameter.
extraTypes:
A System.Type array of additional object types to serialize.
root:
An System.Xml.Serialization.XmlRootAttribute that defines the XML root element
properties.
defaultNamespace:
The default namespace of all XML elements in the XML document.
location:
The location of the types.
evidence:
An instance of the System.Security.Policy.Evidence class that contains credentials
required to access types.