The members of System.Xml.Serialization.XmlSerializer are listed below.
See Also: Inherited members from System.Object
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and deserialize XML documents into objects of the specified type. | ||
Initializes an instance of the System.Xml.Serialization.XmlSerializer class using an object that maps one type to another. | ||
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and deserialize XML documents into objects of the specified type. Specifies the default namespace for all the XML elements. | ||
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and deserialize XML documents into object of a specified type. If a property or field returns an array, the extraTypes parameter specifies objects that can be inserted into the array. | ||
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and deserialize XML documents into objects of the specified type. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. | ||
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML documents, and deserialize an XML document into object of the specified type. It also specifies the class to use as the XML root element. | ||
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of type object into XML document instances, and deserialize XML document instances into objects of type object. Each object to be serialized can itself contain instances of classes, which this overload overrides with other classes. This overload also specifies the default namespace for all the XML elements and the class to use as the XML root element. | ||
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. |
Initializes a new instance of the System.Xml.Serialization.XmlSerializer class. |
CanDeserialize(System.Xml.XmlReader)
| ||
Deserialize(System.IO.Stream)
| ||
Deserialize(System.IO.TextReader)
| ||
Deserialize(System.Xml.XmlReader)
| ||
Deserialize(System.Xml.XmlReader, string)
| ||
Deserialize(System.Xml.XmlReader, XmlDeserializationEvents)
| ||
Deserialize(System.Xml.XmlReader, string, XmlDeserializationEvents)
| ||
static | FromMappings(XmlMapping[])
| |
static | FromMappings(XmlMapping[], System.Security.Policy.Evidence)
| |
static | FromMappings(XmlMapping[], Type)
| |
static | FromTypes(Type[])
| |
static | GenerateSerializer(Type[], XmlMapping[])
| |
static | GenerateSerializer(Type[], XmlMapping[], System.CodeDom.Compiler.CompilerParameters)
| |
static | GetXmlSerializerAssemblyName(Type)
| |
static | GetXmlSerializerAssemblyName(Type, string)
| |
Serialize(System.IO.Stream, object)
| ||
Serialize(System.IO.TextWriter, object)
| ||
Serialize(System.Xml.XmlWriter, object)
| ||
Serialize(System.IO.Stream, object, XmlSerializerNamespaces)
| ||
Serialize(System.IO.TextWriter, object, XmlSerializerNamespaces)
| ||
Serialize(System.Xml.XmlWriter, object, XmlSerializerNamespaces)
| ||
Serialize(System.Xml.XmlWriter, object, XmlSerializerNamespaces, string)
| ||
Serialize(System.Xml.XmlWriter, object, XmlSerializerNamespaces, string, string)
|
CreateReader()
| ||
CreateWriter()
| ||
Deserialize(XmlSerializationReader)
| ||
Serialize(object, XmlSerializationWriter)
|
UnknownAttribute |
Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML attribute of unknown type during deserialization. | |
UnknownElement |
Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML element of unknown type during deserialization. | |
UnknownNode |
Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML node of unknown type during deserialization. | |
UnreferencedObject |
Occurs during deserialization of a SOAP-encoded XML stream, when the System.Xml.Serialization.XmlSerializer encounters a recognized type that is not used or is unreferenced. |