Partager via


TestExecutionSection.SerializeToXmlElement, méthode

Sérialise les paramètres dans le nom d'élément XML fourni.

Espace de noms :  Microsoft.VisualStudio.TestTools.Execution
Assembly :  Microsoft.VisualStudio.QualityTools.ExecutionCommon (dans Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntaxe

'Déclaration
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

Paramètres

  • elementName
    Type : System.String
    Nom de la section d'élément XML dans laquelle sérialiser les valeurs.

Valeur de retour

Type : System.Boolean
true si la sérialisation a réussi ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

TestExecutionSection Classe

Microsoft.VisualStudio.TestTools.Execution, espace de noms