Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.Xml.XmlWriter
An XmlWriter object.
- elementName
Type: System.String
The name of the XML element section to which to serialize the values.
Return Value
Type: System.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.