XmlSerializer Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The XmlSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
|
CanDeserialize | Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document. |
|
Deserialize(Stream) | Deserializes the XML document contained by the specified Stream. |
|
Deserialize(TextReader) | Deserializes the XML document contained by the specified TextReader. |
|
Deserialize(XmlReader) | Deserializes the XML document contained by the specified XmlReader. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
FromMappings(XmlMapping[]) | Infrastructure. Returns an array of XmlSerializer objects created from an array of XmlTypeMapping objects. |
|
FromMappings(XmlMapping[], Type) | Infrastructure. Returns an instance of the XmlSerializer class from the specified mappings. |
|
FromTypes | Returns an array of XmlSerializer objects created from an array of types. |
|
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(Stream, Object) | Serializes the specified Object and writes the XML document to a file using the specified Stream. |
|
Serialize(TextWriter, Object) | Serializes the specified Object and writes the XML document to a file using the specified TextWriter. |
|
Serialize(XmlWriter, Object) | Serializes the specified Object and writes the XML document to a file using the specified XmlWriter. |
|
Serialize(Stream, Object, XmlSerializerNamespaces) | Serializes the specified Object and writes the XML document to a file using the specified Stream that references the specified namespaces. |
|
Serialize(TextWriter, Object, XmlSerializerNamespaces) | Serializes the specified Object and writes the XML document to a file using the specified TextWriter and references the specified namespaces. |
|
Serialize(XmlWriter, Object, XmlSerializerNamespaces) | Serializes the specified Object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: