Sdílet prostřednictvím


HtmlRow.GetCell – metoda

Buňka index buňky na základě získá.

Obor názvů:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Sestavení:  Microsoft.VisualStudio.TestTools.UITesting (v Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntaxe

'Deklarace
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
    Index založený na 0 v řádku buňky.

Vrácená hodnota

Typ: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCell
Objekt buňky.

Poznámky

Příklad: Načtení buňky 2.Poznámka že tohoto indexu je založen 0.

Buňka HtmlCell = myRow.GetCell(2);

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

HtmlRow Třída

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls – obor názvů