Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestExecutionSection::SerializeElement Method (XmlWriter^, Boolean)

 

Reads the app.config file and populates the properties of this object by using values from the test execution section of the file.

Namespace:   Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

protected:
virtual bool SerializeElement(
	XmlWriter^ writer,
	bool serializeCollectionKey
) override

Parameters

writer
Type: System.Xml::XmlWriter^

An XmlWriter object.

serializeCollectionKey
Type: System::Boolean

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

Return Value

Type: System::Boolean

true if the serialization was successful; otherwise, false.

Return to top
Show: