XmlSerializer.FromMappings Method (XmlMapping[], Evidence)

Returns an instance of the XmlSerializer class created from mappings of one XML type to another.

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

Public Shared Function FromMappings ( _
	mappings As XmlMapping(), _
	evidence As Evidence _
) As XmlSerializer()
Dim mappings As XmlMapping()
Dim evidence As Evidence
Dim returnValue As XmlSerializer()

returnValue = XmlSerializer.FromMappings(mappings, evidence)
public static XmlSerializer[] FromMappings (
	XmlMapping[] mappings, 
	Evidence evidence
public static function FromMappings (
	mappings : XmlMapping[], 
	evidence : Evidence
) : XmlSerializer[]
Not applicable.



An array of XmlMapping objects used to map one type to another.


An instance of the Evidence class that contains host and assembly data presented to the common language runtime policy system.

Return Value

An instance of the XmlSerializer class.

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.

.NET Framework

Supported in: 3.0, 2.0