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)
Syntax
'Declaration
Public Function GetCell ( _
    cellIndex As Integer _
) As WinCell
public WinCell GetCell(
    int cellIndex
)
public:
WinCell^ GetCell(
    int cellIndex
)
member GetCell : 
        cellIndex:int -> WinCell
public function GetCell(
    cellIndex : int
) : WinCell
Parameters
- cellIndex 
 Type: Int32- The 0-based index in the row of the cell. 
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell
The cell object.
Remarks
Example - Get cell at 2. Note index is 0 based.
WinCell 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.WinControls Namespace