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
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CanDeserialize Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document.
Protected method CreateReader Infrastructure. Returns an object used to read the XML document to be serialized.
Protected method CreateWriter Infrastructure. When overridden in a derived class, returns a writer used to serialize the object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Deserialize(Stream) Deserializes the XML document contained by the specified Stream.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Deserialize(TextReader) Deserializes the XML document contained by the specified TextReader.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Deserialize(XmlReader) Deserializes the XML document contained by the specified XmlReader.
Protected method Deserialize(XmlSerializationReader) Infrastructure. Deserializes the XML document contained by the specified XmlSerializationReader.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.)
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 FromMappings(array<XmlMapping[]) Infrastructure. Returns an array of XmlSerializer objects created from an array of XmlTypeMapping objects.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 FromMappings(array<XmlMapping[], Type) Infrastructure. Returns an instance of the XmlSerializer class from the specified mappings.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 FromTypes Returns an array of XmlSerializer objects created from an array of types.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Serialize(Object, XmlSerializationWriter) Infrastructure. Serializes the specified Object and writes the XML document to a file using the specified XmlSerializationWriter.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Serialize(Stream, Object) Serializes the specified Object and writes the XML document to a file using the specified Stream.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Serialize(TextWriter, Object) Serializes the specified Object and writes the XML document to a file using the specified TextWriter.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Serialize(XmlWriter, Object) Serializes the specified Object and writes the XML document to a file using the specified XmlWriter.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top