Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The top-level element for controlling XML serialization. For more information about configuration files, see Configuration File Schema.
<configuration>
<system.xml.serialization>
<system.xml.serialization>
</system.xml.serialization>
The following sections describe attributes, child elements, and parent elements.
None.
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 types. |
Element | Description |
---|---|
<configuration> Element | 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 types.
<system.xml.serialization>
<xmlSerializer checkDeserializeAdvances="false" />
<dateTimeSerialization mode = "Local" />
<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>
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now