XmlSchemaImporter::ImportDerivedTypeMapping Method (XmlQualifiedName^, Type^)
.NET Framework (current version)
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.
Assembly: System.Xml (in System.Xml.dll)
public:
XmlTypeMapping^ ImportDerivedTypeMapping(
XmlQualifiedName^ name,
Type^ baseType
)
Parameters
- name
-
Type:
System.Xml::XmlQualifiedName^
An XmlQualifiedName that specifies the name of an element defined in an XML schema document.
- baseType
-
Type:
System::Type^
A base type for the .NET Framework type that is generated to correspond to an XSD element's type.
Return Value
Type: System.Xml.Serialization::XmlTypeMapping^An XmlTypeMapping representing the.NET Framework type mapping information for an XML schema element.
This overload of the ImportDerivedTypeMapping method is used by the Xsd.exe tool to generate classes from an XML Schema Definition (XSD) document. Instead of calling this method directly, use Xsd.exe.
.NET Framework
Available since 1.1
Available since 1.1
Show: