XmlSerializerImplementation XmlSerializerImplementation XmlSerializerImplementation XmlSerializerImplementation Class


Defines the reader, writer, and methods for pre-generated, typed serializers.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class XmlSerializerImplementation abstract
public abstract class XmlSerializerImplementation
type XmlSerializerImplementation = class
Public MustInherit Class XmlSerializerImplementation


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.


XmlSerializerImplementation() XmlSerializerImplementation() XmlSerializerImplementation() XmlSerializerImplementation()

Initializes a new instance of the XmlSerializerImplementation class.


Reader Reader Reader Reader

Gets the XML reader object that is used by the serializer.

ReadMethods ReadMethods ReadMethods ReadMethods

Gets the collection of methods that is used to read a data stream.

TypedSerializers TypedSerializers TypedSerializers TypedSerializers

Gets the collection of typed serializers that is found in the assembly.

WriteMethods WriteMethods WriteMethods WriteMethods

Gets the collection of methods that is used to write to a data stream.

Writer Writer Writer Writer

Gets the XML writer object for the serializer.


CanSerialize(Type) CanSerialize(Type) CanSerialize(Type) CanSerialize(Type)

Gets a value that determines whether a type can be serialized.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSerializer(Type) GetSerializer(Type) GetSerializer(Type) GetSerializer(Type)

Returns a serializer for the specified type.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to