XmlSchemaImporter.ImportTypeMapping Method (XmlQualifiedName)

 

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

Generates internal type mapping information for an element defined in an XML schema document.

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

public XmlTypeMapping ImportTypeMapping(
	XmlQualifiedName name
)

Parameters

name
Type: System.Xml.XmlQualifiedName

An XmlQualifiedName that specifies the name of an element defined in an XML schema document.

Return Value

Type: System.Xml.Serialization.XmlTypeMapping

The .NET Framework type mapping information for an XML schema element.

The ImportTypeMapping method is used by the Xsd.exe tool while generating classes XML Schema Definition (XSD) document. Instead of calling this method directly, use Xsd.exe.

This method does not account for the XML schema element's type.

.NET Framework
Available since 1.1
Return to top
Show: