Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HtmlTable::FindFirstCellWithValue Method (String^)

 

Finds the first cell with the given value.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
HtmlCell^ FindFirstCellWithValue(
	String^ value
)

Parameters

value
Type: System::String^

The value to find for.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls::HtmlCell^

The first cell with the value.

Example: Find the first cell with the value 'Coded UI Test'.

HtmlCell cell = myTable.FindFirstCellWithValue("Coded UI Test");

Return to top
Show: