UITestControl.TryFind Method
Tries to find the control on the user interface.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function TryFind As Boolean
public bool TryFind()
public:
bool TryFind()
member TryFind : unit -> bool
public function TryFind() : boolean
Return Value
Type: Boolean
True if the find succeeds.
.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.