Export (0) Print
Expand All

XmlSerializer Members

Serializes and deserializes objects into and from XML documents. The XmlSerializer enables you to control how objects are encoded into XML.

The following tables list the members exposed by the XmlSerializer type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XmlSerializer Overloaded. Initializes a new instance of the XmlSerializer class.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework XmlSerializer Overloaded. Initializes a new instance of the XmlSerializer class.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CanDeserialize Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Deserialize Overloaded. Deserializes an XML document.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FromMappings Overloaded. Returns an instance of the XmlSerializer class from the specified mappings.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework FromTypes Returns an array of XmlSerializer objects created from an array of types.
Public method Static GenerateSerializer Overloaded. Returns an assembly that contains typed serializers.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static GetXmlSerializerAssemblyName Overloaded. Returns the name of the assembly that contains one or more versions of the XmlSerializer especially created to serialize or deserialize specific types.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Serialize Overloaded. Serializes an object into an XML document.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method CreateReader Returns an object used to read the XML document to be serialized.
Protected method CreateWriter When overridden in a derived class, returns a writer used to serialize the object.
Protected method Supported by the XNA Framework Deserialize Overloaded. Deserializes an XML document.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Serialize Overloaded. Serializes an object into an XML document.
Top

  Name Description
Public event Supported by the .NET Compact Framework Supported by the XNA Framework UnknownAttribute Occurs when the XmlSerializer encounters an XML attribute of unknown type during deserialization.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework UnknownElement Occurs when the XmlSerializer encounters an XML element of unknown type during deserialization.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework UnknownNode Occurs when the XmlSerializer encounters an XML node of unknown type during deserialization.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework UnreferencedObject Occurs during deserialization of a SOAP-encoded XML stream, when the XmlSerializer encounters a recognized type that is not used or is unreferenced.
Top

Community Additions

ADD
Show:
© 2014 Microsoft