XmlSerializerFactory.CreateSerializer Method (XmlTypeMapping)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Returns a derivation of the XmlSerializerFactory class using an object that maps one type to another.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public XmlSerializer CreateSerializer(
	XmlTypeMapping xmlTypeMapping
)

Parameters

xmlTypeMapping
Type: System.Xml.Serialization.XmlTypeMapping

An XmlTypeMapping that maps one type to another.

Return Value

Type: System.Xml.Serialization.XmlSerializer

A derivation of the XmlSerializer class that is specifically created to serialize the mapped type.

.NET Framework
Available since 2.0
Return to top
Show: