Redigera

Dela via


ServiceModelExtensionElement.SerializeElement(XmlWriter, Boolean) Method

Definition

Writes the contents of this configuration element to the configuration file.

protected:
 override bool SerializeElement(System::Xml::XmlWriter ^ writer, bool serializeCollectionKey);
protected override bool SerializeElement (System.Xml.XmlWriter writer, bool serializeCollectionKey);
override this.SerializeElement : System.Xml.XmlWriter * bool -> bool
Protected Overrides Function SerializeElement (writer As XmlWriter, serializeCollectionKey As Boolean) As Boolean

Parameters

writer
XmlWriter

The XmlWriter that is used to write to the configuration file.

serializeCollectionKey
Boolean

true to serialize only the collection key properties; otherwise, false.

Returns

true if any data was actually serialized; otherwise, false.

Applies to