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
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting.HtmlControls