Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Finds the first cell with the given value.
This call might take significant time because cell is searched under each row.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function FindFirstCellWithValue ( _
value As String _
) As WpfCell
public WpfCell FindFirstCellWithValue(
string value
)
public:
WpfCell^ FindFirstCellWithValue(
String^ value
)
member FindFirstCellWithValue :
value:string -> WpfCell
public function FindFirstCellWithValue(
value : String
) : WpfCell
Parameters
value
Type: StringThe value to find for.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfCell
The first cell with the value.
Remarks
Example - Find first cell with value 'Coded UI Test'.
WpfCell 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.WpfControls Namespace