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 row based on the row 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 GetRow ( _
rowIndex As Integer _
) As HtmlControl
public HtmlControl GetRow(
int rowIndex
)
public:
HtmlControl^ GetRow(
int rowIndex
)
member GetRow :
rowIndex:int -> HtmlControl
public function GetRow(
rowIndex : int
) : HtmlControl
Parameters
rowIndex
Type: Int32The 0-based row index.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl
The row object.
Remarks
Example: Get the third row. Note that index is 0 based.
HtmlControl 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.HtmlControls Namespace