Generates internal type mapping information for an element defined in an XML schema document or as a part in a WSDL document.
- name
- An System.Xml.XmlQualifiedName that specifies the name of an element defined in an XML schema document.
- baseType
- A base type for the .NET Framework type that is generated to correspond to an XSD element's type.
- baseTypeCanBeIndirect
- true to indicate that the type corresponding to an XSD element can indirectly inherit from the base type; otherwise, false.
The .NET Framework type mapping information for an XML schema element.
This overload of the XmlSchemaImporter.ImportDerivedTypeMapping(System.Xml.XmlQualifiedName, Type, bool) method is used by the Xsd.exe tool to generate classes from an XML Schema Definition (XSD) document. It also is used by the Wsdl.exe tool while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. Instead of calling this method directly, use Wsdl.exe or Xsd.exe.