Udostępnij za pośrednictwem


Metoda HtmlRow.GetCell —

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

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

Składnia

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

Parametry

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

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCell
Obiekt komórki.

Uwagi

Przykład: Pobieranie komórek na 2.Uwaga indeks 0 oparte.

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

HtmlRow Klasa

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