WinTable.FindFirstCellWithValue Method
Finds the first cell with the given value.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function FindFirstCellWithValue ( _
value As String _
) As WinCell
public WinCell FindFirstCellWithValue(
string value
)
public:
WinCell^ FindFirstCellWithValue(
String^ value
)
member FindFirstCellWithValue :
value:string -> WinCell
public function FindFirstCellWithValue(
value : String
) : WinCell
Parameters
value
Type: StringThe value to find for.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell
The first cell with the value.
Remarks
Example: Find the first cell with value 'Coded UI Test'.
WinCell cell = myTable.FindFirstCellWithValue("Coded UI Test");
.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