ConfigurationElement.PreSerialize(XmlWriter) ConfigurationElement.PreSerialize(XmlWriter) ConfigurationElement.PreSerialize(XmlWriter) ConfigurationElement.PreSerialize(XmlWriter) Method

定义

在序列化之前调用。Called before serialization.

protected:
 virtual void PreSerialize(System::Xml::XmlWriter ^ writer);
protected virtual void PreSerialize (System.Xml.XmlWriter writer);
abstract member PreSerialize : System.Xml.XmlWriter -> unit
override this.PreSerialize : System.Xml.XmlWriter -> unit
Protected Overridable Sub PreSerialize (writer As XmlWriter)

参数

writer
XmlWriter XmlWriter XmlWriter XmlWriter

将用于对 ConfigurationElement 执行序列化的 XmlWriterThe XmlWriter that will be used to serialize the ConfigurationElement.

适用于