WpfTable.GetRow Method
Gets the row based on the row index.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function GetRow ( _
rowIndex As Integer _
) As WpfRow
public WpfRow GetRow(
int rowIndex
)
public:
WpfRow^ GetRow(
int rowIndex
)
member GetRow :
rowIndex:int -> WpfRow
public function GetRow(
rowIndex : int
) : WpfRow
Parameters
rowIndex
Type: Int32The 0-based row index.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfRow
The row object.
Remarks
Example - Get third row. Note index is 0 based.
WpfRow row = myTable.GetRow(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.WpfControls Namespace