System.Xml.Serialization.Configuration 命名空间

System.Xml.Serialization.Configuration 命名空间包含用于读取在应用程序配置文件中的 <system.xml.serialization> 元素 节下找到的值的类。 The System.Xml.Serialization.Configuration namespace contains classes used to read the values found in application configuration files under the <system.xml.serialization> Element section.

DateTimeSerializationSection

处理 DateTime 实例的 XML 序列化的配置设置。Handles configuration settings for XML serialization of DateTime instances.

RootedPathValidator

验证控制 tempFilesLocation 配置开关的使用的规则。Validates the rules governing the use of the tempFilesLocation configuration switch.

SchemaImporterExtensionElement

处理 XmlSchemaImporter 类的配置。Handles the configuration for the XmlSchemaImporter class. 此类不能被继承。This class cannot be inherited.

SchemaImporterExtensionElementCollection

处理用于配置 XmlSchemaImporter 的操作的 XML 元素。Handles the XML elements used to configure the operation of the XmlSchemaImporter. 此类不能被继承。This class cannot be inherited.

SchemaImporterExtensionsSection

处理 XmlSchemaImporter 类的配置。Handles the configuration for the XmlSchemaImporter class. 此类不能被继承。This class cannot be inherited.

SerializationSectionGroup

处理用于配置 XML 序列化的 XML 元素。Handles the XML elements used to configure XML serialization.

XmlSerializerSection

处理用于配置 XML 序列化的 XML 元素。Handles the XML elements used to configure XML serialization.

枚举

DateTimeSerializationSection.DateTimeSerializationMode

确定 DateTime 对象的 XML 序列化格式。Determines XML serialization format of DateTime objects.

注解

此命名空间中的类由序列化基础结构使用,用于处理配置元素,但不能直接使用。The classes in this namespace are used by the serialization infrastructure to handle the configuration elements and cannot be used directly. 有关配置文件的详细信息,请参阅配置文件架构For more information about configuration files, see Configuration File Schema.

相反,若要配置XmlSerializerXmlSchemaImporter、 创建应用程序配置文件,并使用以下 XML 元素:Instead, to configure the XmlSerializer or XmlSchemaImporter, create an application configuration file and use the following XML elements: