Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the cell based on the cell index.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
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
Parameters
cellIndex
Type: Int32The 0-based index in the row of the cell.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCell
The cell object.
Remarks
Example: Get cell at 2. Note that index is 0 based.
HtmlCell cell = myRow.GetCell(2);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace