Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinTable::GetCell Method (Int32, Int32)

 

Gets the cell based on the row and column indices.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
WinCell^ GetCell(
	int rowIndex,
	int columnIndex
)

Parameters

rowIndex
Type: System::Int32

The 0-based row index of the cell.

columnIndex
Type: System::Int32

The 0-based column index of the cell.

Example: Get cell at 2, 5. Note that index is 0 based.

WinCell cell = myTable.GetCell(2, 5);

Return to top
Show: