XmlSerializer.FromTypes Method

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

Returns an array of XmlSerializer objects created from an array of types.

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

Syntax

Public Shared Function FromTypes ( _
    types As Type() _
) As XmlSerializer()
public static XmlSerializer[] FromTypes(
    Type[] types
)

Parameters

Return Value

Type: array<System.Xml.Serialization..::.XmlSerializer>[]()[]
An array of XmlSerializer objects.

Remarks

The FromTypes method allows you to efficiently create an array of XmlSerializer objects for processing an array of Type objects.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

XmlSerializer Class

System.Xml.Serialization Namespace