ImportTypeMapping Method

XmlReflectionImporter.ImportTypeMapping Method

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

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

Generates a mapping to an XML Schema element for a specified .NET Framework type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ImportTypeMapping(Type) Generates a mapping to an XML Schema element for a specified .NET Framework type.
Public method ImportTypeMapping(Type, String) Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and namespace.
Public method ImportTypeMapping(Type, XmlRootAttribute) Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and attribute.
Public method ImportTypeMapping(Type, XmlRootAttribute, String) Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type, attribute, and namespace.
Top

Show:
© 2017 Microsoft