Share via


TestExecutionSection.SerializeToXmlElement(XmlWriter, String) Method

Definition

Serializes the settings to the provided XML element name.

protected:
 override bool SerializeToXmlElement(System::Xml::XmlWriter ^ writer, System::String ^ elementName);
protected override bool SerializeToXmlElement (System.Xml.XmlWriter writer, string elementName);
override this.SerializeToXmlElement : System.Xml.XmlWriter * string -> bool
Protected Overrides Function SerializeToXmlElement (writer As XmlWriter, elementName As String) As Boolean

Parameters

writer
XmlWriter

An XmlWriter object.

elementName
String

The name of the XML element section to which to serialize the values.

Returns

true if the serialization was successful; otherwise, false.

Applies to