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.

WinTable::FindFirstCellWithValue Method (String^)

 

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)

public:
WinCell^ FindFirstCellWithValue(
	String^ value
)

Parameters

value
Type: System::String^

The value to find for.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.WinControls::WinCell^

The first cell with the value.

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

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

Return to top
Show: