Udostępnij za pośrednictwem


Metoda WinTable.GetCell —

Pobiera komórki oparty na wskaźniki wierszy i kolumn.

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

Składnia

'Deklaracja
Public Function GetCell ( _
    rowIndex As Integer, _
    columnIndex As Integer _
) As WinCell
public WinCell GetCell(
    int rowIndex,
    int columnIndex
)
public:
WinCell^ GetCell(
    int rowIndex, 
    int columnIndex
)
member GetCell : 
        rowIndex:int * 
        columnIndex:int -> WinCell
public function GetCell(
    rowIndex : int, 
    columnIndex : int
) : WinCell

Parametry

  • rowIndex
    Typ: Int32

    Indeks 0 na podstawie wiersza komórki.

  • columnIndex
    Typ: Int32

    Indeks oparty na 0 kolumny komórki.

Wartość zwracana

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

Uwagi

Przykład: Get komórki na 2, 5.Uwaga 0 oparty jest indeks.

Komórka WinCell = myTable.GetCell (2, 5);

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WinTable Klasa

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