다음을 통해 공유


<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 for the .NET Framework.

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

Child Elements

Element Description

<add> Element for <xmlSchemaImporterExtensions>

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.sxml.serializaiton>

See Also

Reference

<dateTimeSerialization> Element
<add> Element for <xmlSchemaImporterExtensions>
<system.xml.serialization> Element
XmlSchemaImporter
DateTimeSerializationMode

Other Resources

Configuration File Schema for the .NET Framework