System.Xml.Serialization.XmlSchemaImporter.ImportSchemaType Method

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

Syntax

public XmlTypeMapping ImportSchemaType (System.Xml.XmlQualifiedName typeName, Type baseType, bool baseTypeCanBeIndirect)

Parameters

typeName
A System.Xml.XmlQualifiedName that specifies an XML element.
baseType
A Type object that specifies a base type.
baseTypeCanBeIndirect
A bool value that specifies whether the generated type can indirectly inherit the baseType.

Returns

A System.Xml.Serialization.XmlTypeMapping object that describes a type mapping.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0