System.Xml.Serialization.XmlSerializer.GenerateSerializer Method

Returns an assembly that contains custom-made serializers used to serialize or deserialize the specified type or types, using the specified mappings.

Syntax

public static System.Reflection.Assembly GenerateSerializer (Type[] types, XmlMapping[] mappings)

Parameters

types
A collection of types.
mappings
A collection of System.Xml.Serialization.XmlMapping objects used to convert one type to another.

Returns

An System.Reflection.Assembly object that contains serializers for the supplied types and mappings.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0