Share via


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: String

    The 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

See Also

Reference

WinTable Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace