ConfigurationSection.DeserializeSection(XmlReader) 方法

定義

從組態檔讀取 XML。Reads XML from the configuration file.

protected public:
 virtual void DeserializeSection(System::Xml::XmlReader ^ reader);
protected internal virtual void DeserializeSection (System.Xml.XmlReader reader);
abstract member DeserializeSection : System.Xml.XmlReader -> unit
override this.DeserializeSection : System.Xml.XmlReader -> unit
Protected Friend Overridable Sub DeserializeSection (reader As XmlReader)

參數

reader
XmlReader

從組態檔讀取的 XmlReader 物件。The XmlReader object, which reads from the configuration file.

例外狀況

reader 在組態檔中找不到項目。reader found no elements in the configuration file.

備註

還原序列化指的是從設定檔讀取 XML 資料、將其轉換成即時資料,以及將其儲存在物件中。Deserialization refers to the reading of XML data from a configuration file, its transformation into real-time data, and its storage in an object.

適用於