ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.DeserializeElement 方法

定义

从配置文件读取 XML。

protected:
 override void DeserializeElement(System::Xml::XmlReader ^ reader, bool serializeCollectionKey);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override void DeserializeElement (System.Xml.XmlReader reader, bool serializeCollectionKey);
protected override void DeserializeElement (System.Xml.XmlReader reader, bool serializeCollectionKey);
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.DeserializeElement : System.Xml.XmlReader * bool -> unit
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

属性

适用于