XmlSerializer Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The XmlSerializer type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanDeserialize | Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document. | |
CreateReader | Infrastructure. Returns an object used to read the XML document to be serialized. | |
CreateWriter | Infrastructure. When overridden in a derived class, returns a writer used to serialize the object. | |
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. | |
Deserialize(XmlSerializationReader) | Infrastructure. Deserializes the XML document contained by the specified XmlSerializationReader. | |
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(array<XmlMapping[]) | Infrastructure. Returns an array of XmlSerializer objects created from an array of XmlTypeMapping objects. | |
FromMappings(array<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(Object, XmlSerializationWriter) | Infrastructure. Serializes the specified Object and writes the XML document to a file using the specified XmlSerializationWriter. | |
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.) |
Top