Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Represents the root element for the System.Runtime.Serialization namespace section and contains elements for setting options of the DataContractSerializer.
<configuration>
<system.runtime.serialization>
Syntax
<configuration>
<system.runtime.serialization>
<dataContractSerializer ignoreExtensionDataObject="Boolean"
maxItemsInObjectGraph="Integer">
<declaredTypes>
<add type="String">
<knownType type="String">
<parameter index="Integer" />
</knownType>
</add>
</declaredTypes>
</dataContractSerializer>
</system.runtime.serialization>
</configuration>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements
Attributes
None.
Child Elements
| Element | Description |
|---|---|
| <dataContractSerializer> | Enables addition of known types to be used when deserialization. |
Parent Elements
| Element | Description |
|---|---|
| <configuration> Element | The top level element for configuration. |
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.