Export (0) Print
Expand All

CodeIdentifiers.ToArray Method

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

Returns an array of the code entities or type mappings within the CodeIdentifiers instance's scope.

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

public Object ToArray(
	Type type
)

Parameters

type
Type: System.Type

The type of all the code entities or type mappings for the instance.

Return Value

Type: System.Object
An array of the code entities or type mappings that is stored by the CodeIdentifiers object.

If you want to control the names of code entities that are bound to XML Schema or Web service definitions, use the associated attributes rather than creating an instance of the CodeIdentifiers class. For a complete list, see Attributes That Control XML Serialization.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft