[This is preliminary documentation and is subject to change.]
Searches for top-level windows by class and/or text
Namespace: Tools.WindowsT.NativeTAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static Win32Window[] FindWindows( string text, string className ) |
| Visual Basic |
|---|
Public Shared Function FindWindows ( _ text As String, _ className As String _ ) As Win32Window() |
| Visual C++ |
|---|
public: static array<Win32Window^>^ FindWindows( String^ text, String^ className ) |
| F# |
|---|
static member FindWindows : text:string * className:string -> Win32Window[] |
| JScript |
|---|
public static function FindWindows( text : String, className : String ) : Win32Window[] |
Parameters
- text
- Type: System..::..String
Text of windows to search for. Ignored when null. Can contain wildcards characters - see LikeString(String, String, CompareMethod).
- className
- Type: System..::..String
Name of class of windows to search for. Ignored when null.