Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata