HtmlTable.FindFirstCellWithValue Method
Finds the first cell with the given value.
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 FindFirstCellWithValue ( _
value As String _
) As HtmlCell
public HtmlCell FindFirstCellWithValue(
string value
)
public:
HtmlCell^ FindFirstCellWithValue(
String^ value
)
member FindFirstCellWithValue :
value:string -> HtmlCell
public function FindFirstCellWithValue(
value : String
) : HtmlCell
Parameters
value
Type: StringThe value to find for.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCell
The first cell with the value.
Remarks
Example: Find the first cell with the value 'Coded UI Test'.
HtmlCell 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.HtmlControls Namespace