SecurityElementBase.SerializeElement(XmlWriter, Boolean) Method

Definition

Writes the contents of this configuration element to the configuration file when implemented in a derived class.

C#
protected override bool SerializeElement(System.Xml.XmlWriter writer, bool serializeCollectionKey);

Parameters

writer
XmlWriter

The XML writer that writes 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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1