共用方式為


ConfigurationElementInterceptor.DeserializeElement(XmlReader, Boolean) 方法

定義

從組態檔讀取 XML。

protected:
 override void DeserializeElement(System::Xml::XmlReader ^ reader, bool serializeCollectionKey);
protected override void DeserializeElement (System.Xml.XmlReader reader, bool serializeCollectionKey);
override this.DeserializeElement : System.Xml.XmlReader * bool -> unit
Protected Overrides Sub DeserializeElement (reader As XmlReader, serializeCollectionKey As Boolean)

參數

reader
XmlReader

從組態檔讀取的 XmlReader

serializeCollectionKey
Boolean

true 表示只針對集合主要屬性進行序列化,否則為 false

適用於