This documentation is archived and is not being maintained.
XmlSerializerImplementation Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Defines the reader, writer, and methods for pre-generated, typed serializers.
Assembly: System.Xml (in System.Xml.dll)
The XmlSerializerImplementation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | XmlSerializerImplementation | Initializes a new instance of the XmlSerializerImplementation class. |
| Name | Description | |
|---|---|---|
![]() | Reader | Gets the XML reader object that is used by the serializer. |
![]() | ReadMethods | Gets the collection of methods that is used to read a data stream. |
![]() | TypedSerializers | Gets the collection of typed serializers that is found in the assembly. |
![]() | WriteMethods | Get the collection of methods that is used to write to a data stream. |
![]() | Writer | Gets the XML writer object for the serializer. |
| Name | Description | |
|---|---|---|
![]() | CanSerialize | Gets a value that determines whether a type can be serialized. |
![]() | 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 it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetSerializer | Returns a serializer for the specified type. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
To improve the performance of XML serialization, you can generate assemblies before serialization using the XML Serializer Generator Tool (Sgen.exe). When such an assembly is loaded, the XmlSerializer uses the properties of the XmlSerializerImplementation interface to query the contained serializer or serializers.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
