| XmlSerializer Class |
Namespace: System.Xml.Serialization
public class XmlSerializer
The XmlSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
| XmlSerializer |
Initializes a new instance of the System.Xml.Serialization.XmlSerializer
class.
| |
| XmlSerializer(Type) |
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.
|
| Name | Description | |
|---|---|---|
| CanDeserialize |
Gets a value that indicates whether this System.Xml.Serialization.XmlSerializer
can deserialize a specified XML document.
| |
| CreateReader |
Returns an object used to read the XML document to be serialized.
| |
| CreateWriter |
When overridden in a derived class, returns a writer used to serialize the
object.
| |
| Deserialize(Stream) |
Deserializes the XML document contained by the specified System.IO.Stream.
| |
| Deserialize(XmlReader) |
Deserializes the XML document contained by the specified System.xml.XmlReader.
| |
| Deserialize(XmlSerializationReader) |
Deserializes the XML document contained by the specified System.Xml.Serialization.XmlSerializationReader.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Serialize(Object, XmlSerializationWriter) |
Serializes the specified System.Object and writes the XML document to a file
using the specified System.Xml.Serialization.XmlSerializationWriter.
| |
| Serialize(Stream, Object) |
Serializes the specified System.Object and writes the XML document to a file
using the specified System.IO.Stream.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |