XmlSerializer.FromMappings Method (XmlMapping[], Type) (System.Xml.Serialization)

Switch View :
ScriptFree
XmlSerializer.FromMappings Method (XmlMapping[], Type)

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns an instance of the XmlSerializer class from the specified mappings.

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

Syntax

Visual Basic (Declaration)
Public Shared Function FromMappings ( _
	mappings As XmlMapping(), _
	type As Type _
) As XmlSerializer()
Visual Basic (Usage)
Dim mappings As XmlMapping()
Dim type As Type
Dim returnValue As XmlSerializer()

returnValue = XmlSerializer.FromMappings(mappings, type)
C#
public static XmlSerializer[] FromMappings (
	XmlMapping[] mappings,
	Type type
)
C++
public:
static array<XmlSerializer^>^ FromMappings (
	array<XmlMapping^>^ mappings, 
	Type^ type
)
J#
public static XmlSerializer[] FromMappings (
	XmlMapping[] mappings, 
	Type type
)
JScript
public static function FromMappings (
	mappings : XmlMapping[], 
	type : Type
) : XmlSerializer[]
XAML
Not applicable.

Parameters

mappings

An array of XmlMapping objects.

type

The Type of the deserialized object.

Return Value

An instance of the XmlSerializer class.
Platforms

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0, 2.0
See Also