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.

WinRow::GetCell Method (Int32)

 

Gets the cell based on the cell index.

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

public:
WinCell^ GetCell(
	int cellIndex
)

Parameters

cellIndex
Type: System::Int32

The 0-based index in the row of the cell.

Example - Get cell at 2. Note index is 0 based.

WinCell cell = myRow.GetCell(2);

Return to top
Show: