Udostępnij za pośrednictwem


Metoda WinRow.GetCell —

Pobiera komórki, w zależności od indeksu do komórki.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
Public Function GetCell ( _
    cellIndex As Integer _
) As WinCell
public WinCell GetCell(
    int cellIndex
)
public:
WinCell^ GetCell(
    int cellIndex
)
member GetCell : 
        cellIndex:int -> WinCell 
public function GetCell(
    cellIndex : int
) : WinCell

Parametry

  • cellIndex
    Typ: System.Int32
    Indeks na 0 w wierszu komórki.

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell
Obiekt komórki.

Uwagi

Przykład — Get komórki na 2.Uwaga indeks jest 0, na podstawie.

Komórka WinCell = myRow.GetCell(2);

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WinRow Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting.WinControls