XmlSchemaImporter.ImportSchemaType Method (XmlQualifiedName, Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 ImportSchemaType(
	XmlQualifiedName typeName,
	Type baseType


Type: System.Xml.XmlQualifiedName

A XmlQualifiedName that specifies an XML element.

Type: System.Type

A Type object that specifies a base type.

Return Value

Type: System.Xml.Serialization.XmlTypeMapping

A XmlTypeMapping object that describes a type mapping.

.NET Framework
Available since 2.0
Return to top