<schemaImporterExtensions> Element

Contains types that are used by the XmlSchemaImporter for mapping of XSD types to .NET Framework types. For more information about configuration files, see Configuration File Schema.

Syntax

<schemaImporterExtensions>  
    <!-- Add types -->  
</schemaImporterExtensions>  

Child Elements

Element Description
<add> Element for <schemaImporterExtensions> Adds types that are used by the XmlSchemaImporter to create mappings.

Parent Elements

Element Description
<system.xml.serialization> Element The top-level element for controlling XML serialization.

Example

The following code example illustrates how to add types that are used by the XmlSchemaImporter when mapping XSD types to .NET Framework types.

<system.xml.serialization>  
    <schemaImporterExtensions>  
        <add name = "MobileCapabilities" type =   
        "System.Web.Mobile.MobileCapabilities,   
        System.Web.Mobile, Version - 2.0.0.0, Culture = neutral,   
        PublicKeyToken = b03f5f6f11d40a3a" />  
    </schemaImporterExtensions>  
</system.xml.serialization>  

See also