Partager via


WinTable.GetRow, méthode

Obtient la ligne sur l'index de ligne.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly :  Microsoft.VisualStudio.TestTools.UITesting (dans Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntaxe

'Déclaration
Public Function GetRow ( _
    rowIndex As Integer _
) As WinRow
public WinRow GetRow(
    int rowIndex
)
public:
WinRow^ GetRow(
    int rowIndex
)
member GetRow : 
        rowIndex:int -> WinRow 
public function GetRow(
    rowIndex : int
) : WinRow

Paramètres

  • rowIndex
    Type : System.Int32
    Les 0 index basés de ligne.

Valeur de retour

Type : Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRow
L'objet de ligne.

Notes

Exemple : obtenez la troisième ligne.Notez que l'index est de base 0.

Ligne d'andain = myTable.GetRow (2) ;

Sécurité .NET Framework

Voir aussi

Référence

WinTable Classe

Microsoft.VisualStudio.TestTools.UITesting.WinControls, espace de noms