Export (0) Print
Expand All

XmlSerializer Methods

The XmlSerializer type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 Deserialize(Stream) Deserializes the XML document contained by the specified Stream.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Deserialize(TextReader) Deserializes the XML document contained by the specified TextReader.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported 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 method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 FromMappings(XmlMapping[]) Infrastructure. Returns an array of XmlSerializer objects created from an array of XmlTypeMapping objects.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 FromMappings(XmlMapping[], Type) Infrastructure. Returns an instance of the XmlSerializer class from the specified mappings.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 FromTypes Returns an array of XmlSerializer objects created from an array of types.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 Serialize(Stream, Object) Serializes the specified Object and writes the XML document to a file using the specified Stream.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Serialize(TextWriter, Object) Serializes the specified Object and writes the XML document to a file using the specified TextWriter.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Serialize(XmlWriter, Object) Serializes the specified Object and writes the XML document to a file using the specified XmlWriter.
Public method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft