Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The top-level element for controlling XML serialization. For more information about configuration files, see Configuration File Schema for the .NET Framework.
<system.xml.serialization>
</system.xml.serialization>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
| Element | Description |
|---|---|
Determines the serialization mode of DateTime objects. |
|
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. |
Example
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.
<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 = neuutral,
PublicKeyToken = b03f5f6f11d40a3a" />
</schemaImporterExtensions>
</system.sxml.serialization>
See Also
Reference
<dateTimeSerialization> Element
<schemaImporterExtensions> Element
<add> Element for <xmlSchemaImporterExtensions>
XmlSchemaImporter
DateTimeSerializationMode