System.Xml.Serialization.Configuration 命名空间
包含用于读取应用程序配置文件中 <system.xml.serialization> 元素节下找到的值的类。 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 |
验证控制 |
| 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.
相反,若要配置 XmlSerializer 或 XmlSchemaImporter ,请创建一个应用程序配置文件,并使用以下 XML 元素:Instead, to configure the XmlSerializer or XmlSchemaImporter, create an application configuration file and use the following XML elements: