Name
XmlSerializer — System.Xml.Serialization (system.xml.dll) class
Synopsis
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 ...
Get .NET & XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.