HtmlTable.FindFirstCellWithValue Method

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)

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

    The 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

See Also

Reference

HtmlTable Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace