Click or drag to resize
XmlSerializer Methods

The XmlSerializer type exposes the following members.

Methods
  NameDescription
Public methodCanDeserialize
Gets a value that indicates whether this System.Xml.Serialization.XmlSerializer can deserialize a specified XML document.
Protected methodCreateReader
Returns an object used to read the XML document to be serialized.
Protected methodCreateWriter
When overridden in a derived class, returns a writer used to serialize the object.
Public methodDeserialize(Stream)
Deserializes the XML document contained by the specified System.IO.Stream.
Public methodDeserialize(XmlReader)
Deserializes the XML document contained by the specified System.xml.XmlReader.
Protected methodDeserialize(XmlSerializationReader)
Deserializes the XML document contained by the specified System.Xml.Serialization.XmlSerializationReader.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSerialize(Object, XmlSerializationWriter)
Serializes the specified System.Object and writes the XML document to a file using the specified System.Xml.Serialization.XmlSerializationWriter.
Public methodSerialize(Stream, Object)
Serializes the specified System.Object and writes the XML document to a file using the specified System.IO.Stream.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also