C# Class NSoft.NFramework.Configurations.SerializableConfigurationSection

Represents a configuration section that can be serialized and deserialized to XML.
Inheritance: System.Configuration.ConfigurationSection, IXmlSerializable
显示文件 Open project: debop/NFramework

Public Methods

Method Description
GetSchema ( ) : XmlSchema

Returns the XML schema for the configuration section.

ReadXml ( XmlReader reader ) : void

Updates the configuration section with the values from an XmlReader.

WriteXml ( XmlWriter writer ) : void

Writes the configuration section values as an XML element to an XmlWriter.

Method Details

GetSchema() public method

Returns the XML schema for the configuration section.
public GetSchema ( ) : XmlSchema
return System.Xml.Schema.XmlSchema

ReadXml() public method

Updates the configuration section with the values from an XmlReader.
public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader The that reads the configuration source located at the element that describes the configuration section.
return void

WriteXml() public method

Writes the configuration section values as an XML element to an XmlWriter.
public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter The that writes to the configuration source.
return void