編輯

共用方式為


System.Runtime.Serialization.Configuration Namespace

Contains classes used to read the values found in application configuration under system.xml.serialization section.

The classes in this namespace are used by the serialization infrastructure to handle the configuration elements and cannot be used directly. Instead, to configure the DataContractSerializer, create an application configuration file and use the following XML elements. <system.xml.serialization><dataContractSerializer><declaredTypes><add> element for <declaredTypes><knownType> element.

Classes

DataContractSerializerSection

Handles the XML elements used to configure serialization by the DataContractSerializer.

DeclaredTypeElement

Handles the XML elements used to add known types that are used for serialization by the DataContractSerializer.

DeclaredTypeElementCollection

Handles the XML elements used to configure XML serialization using the DataContractSerializer.

NetDataContractSerializerSection

Handles the XML elements used to configure serialization by the NetDataContractSerializer.

ParameterElement

Handles the XML elements used to configure XML serialization by the DataContractSerializer.

ParameterElementCollection

Handles the XML elements used to configure serialization by the DataContractSerializer.

SerializationSectionGroup

Handles the XML elements used to configure serialization by the DataContractSerializer.

TypeElement

Handles the XML elements used to configure serialization by the DataContractSerializer.

TypeElementCollection

Handles the XML elements used to configure the known types used for serialization by the DataContractSerializer.