XmlSchemaImporter::ImportSchemaType Method (XmlQualifiedName^, Type^, Boolean)
.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^ ImportSchemaType( XmlQualifiedName^ typeName, Type^ baseType, bool baseTypeCanBeIndirect )
Parameters
- typeName
-
Type:
System.Xml::XmlQualifiedName^
A XmlQualifiedName that specifies an XML element.
- baseType
-
Type:
System::Type^
A Type object that specifies a base type.
- baseTypeCanBeIndirect
-
Type:
System::Boolean
A Boolean value that specifies whether the generated type can indirectly inherit the baseType.
Return Value
Type: System.Xml.Serialization::XmlTypeMapping^A XmlTypeMapping object that describes a type mapping.
.NET Framework
Available since 2.0
Available since 2.0
Show: