Show / Hide Table of Contents

Method wndFinder.Find(+ 1 overload)


Overload

Finds the specified window, like wnd.find.

public wnd Find()
Returns
wnd

If found, returns wndFinder.Result, else default(wnd).

Remarks

Functions Find and Exists differ only in their return types.


Overload(top)

Finds the specified window, like wnd.find. Can wait and throw NotFoundException.

public wnd Find(Seconds wait)
Parameters
wait  (Seconds)

The wait timeout, seconds. If 0, does not wait. If negative, does not throw exception when not found.

Returns
wnd

If found, returns wndFinder.Result. Else throws exception or returns default(wnd) (if wait negative).

Exceptions
NotFoundException

Remarks

Functions Find and Exists differ only in their return types.