Partager via


TestStepEventArgs.TestStepId, propriété

Obtient ou définit l'ID de l'étape de test.

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

Syntaxe

'Déclaration
Public Property TestStepId As Integer
    Get
    Private Set
public int TestStepId { get; private set; }
public:
property int TestStepId {
    int get ();
    private: void set (int value);
}
member TestStepId : int with get, private set
function get TestStepId () : int
private function set TestStepId (value : int)

Valeur de propriété

Type : System.Int32
Retourne l'ID de l'étape de test.

Notes

Identifie l'étape de test pendant laquelle la collecte de données a lieu ou 0 si cette étape de test n'existe pas.

Sécurité .NET Framework

Voir aussi

Référence

TestStepEventArgs Classe

Microsoft.VisualStudio.TestTools.Execution, espace de noms

#ctor(DataCollectionContext, Int32, String, Boolean, Int32, String)