XmlSerializer Constructor (XmlTypeMapping)

XmlSerializer Constructor (XmlTypeMapping)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes an instance of the XmlSerializer class using an object that maps one type to another.

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

public XmlSerializer(
	XmlTypeMapping xmlTypeMapping
)

Parameters

xmlTypeMapping
Type: System.Xml.Serialization.XmlTypeMapping
An XmlTypeMapping that maps one type to another.

This constructor is used to create an XmlSerializer when you serialize an object into a SOAP message. To control the SOAP messages generated, use the special attributes (beginning with the word "Soap") found in the System.Xml.Serialization namespace.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft