TestExecutionSection.SerializeToXmlElement Method
Serializes the settings to the provided XML element name.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Protected Overrides Function SerializeToXmlElement ( _
writer As XmlWriter, _
elementName As String _
) As Boolean
protected override bool SerializeToXmlElement(
XmlWriter writer,
string elementName
)
protected:
virtual bool SerializeToXmlElement(
XmlWriter^ writer,
String^ elementName
) override
abstract SerializeToXmlElement :
writer:XmlWriter *
elementName:string -> bool
override SerializeToXmlElement :
writer:XmlWriter *
elementName:string -> bool
protected override function SerializeToXmlElement(
writer : XmlWriter,
elementName : String
) : boolean
Parameters
writer
Type: XmlWriterAn XmlWriter object.
elementName
Type: StringThe name of the XML element section to which to serialize the values.
Return Value
Type: Boolean
true if the serialization was successful; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.