Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
<system.xml.serialization> Element

<system.xml.serialization> Element

The top-level element for controlling XML serialization. For more information about configuration files, see Configuration File Schema for the .NET Framework.


The following sections describe attributes, child elements, and parent elements.



Child Elements


Element Description

<dateTimeSerialization> Element

Determines the serialization mode of DateTime objects.

<schemaImporterExtensions> Element

Contains types that are used by the XmlSchemaImporter for mapping of XSD types to .NET Framework types.

Parent Elements


Element Description


The root element in every configuration file that is used by the common language runtime and .NET Framework applications.

The following code example illustrates how to specify the serialization mode of a DateTime object, and the addition of types used by the XmlSchemaImporter when mapping XSD types to .NET Framework types.

    <xmlSerializer checkDeserializeAdvances="false" />
    <dateTimeSerialization mode = "Local" />
        name = "MobileCapabilities" 
        type = "System.Web.Mobile.MobileCapabilities, 
        System.Web.Mobile, Version -, Culture = neuutral, 
        PublicKeyToken = b03f5f6f11d40a3a" />

Build Date:


Community Additions

© 2015 Microsoft