UtilUIAutomationEnumerateWindows Method
Enumerates the top-level windows on the screen.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IEnumerable<WindowInfo> EnumerateWindows()
public:
static IEnumerable<WindowInfo^>^ EnumerateWindows()
static member EnumerateWindows : unit -> IEnumerable<WindowInfo>
No code example is currently available or this language may not be supported.
Return Value
IEnumerableWindowInfo
The top-level windows.
This is a code example.
No code example is currently available or this language may not be supported.
Dim windows As IEnumerable(Of WindowInfo) =EnumerateWindows()
For Each window As WindowInfo In windows
Console.WriteLine("HWND: {0}, CLASS: {1}, TEXT: {2}", window.Hwnd.ToInt32(), window.ClassName, window.Text)
Next window
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.