Share via


TestExecutionSection.SerializeElement(XmlWriter, Boolean) Method

Definition

Reads the app.config file and populates the properties of this object by using values from the test execution section of the 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

An XmlWriter object.

serializeCollectionKey
Boolean

true to serialize only the key property values; otherwise, false.

Returns

true if the serialization was successful; otherwise, false.

Applies to