Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds this application window in the user interface.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Sub Find
public override void Find()
public:
virtual void Find() override
abstract Find : unit -> unit
override Find : unit -> unit
public override function Find()
Exceptions
Exception | Condition |
---|---|
[UITestControlNotAvailableException] | The target application window is closed, not valid, or the process has ended. |
[UITestControlNotFoundException] | The target application window was not found. |
.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.