November 2003
Intermediate to advanced
476 pages
14h 38m
English
XmlSerializer — System.Xml.Serialization (system.xml.dll) class
public class XmlSerializer { // Public Constructors public XmlSerializer( Type type); public XmlSerializer( Type type, string defaultNamespace); public XmlSerializer( Type type, Type[ ] extraTypes); public XmlSerializer( Type type, XmlAttributeOverrides overrides); public XmlSerializer( Type type, XmlAttributeOverrides overrides, Type[ ] extraTypes, XmlRootAttribute root, string defaultNamespace); public XmlSerializer( Type type, XmlRootAttribute root); public XmlSerializer( XmlTypeMapping xmlTypeMapping); // Protected Constructors protected XmlSerializer( ); // Public Static Methods public static XmlSerializer[ ] FromMappings( XmlMapping[ ] mappings); public static XmlSerializer[ ] FromTypes( Type[ ] types); // Public Instance Methods public virtual bool CanDeserialize( System.Xml.XmlReader xmlReader); public object Deserialize( System.IO.Stream stream); public object Deserialize( System.IO.TextReader textReader); public object Deserialize( System.Xml.XmlReader xmlReader); public void Serialize( System.IO.Stream stream, object o); public void Serialize( System.IO.Stream stream, object o, XmlSerializerNamespaces namespaces); public void Serialize( System.IO.TextWriter textWriter, object o); public void Serialize( System.IO.TextWriter textWriter, object o, XmlSerializerNamespaces namespaces); public void Serialize( System.Xml.XmlWriter xmlWriter, object o); public void Serialize( System.Xml.XmlWriter ...