Upraviť

Zdieľať cez


XmlSerializerImplementation Class

Definition

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
Inheritance
XmlSerializerImplementation

Remarks

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.

Constructors

XmlSerializerImplementation()

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

Initializes a new instance of the XmlSerializerImplementation class.

Properties

Reader

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

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

ReadMethods

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

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

TypedSerializers

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

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

WriteMethods

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

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

Writer

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

Gets the XML writer object for the serializer.

Methods

CanSerialize(Type)

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

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)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSerializer(Type)

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

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)

Applies to