UtilUIAutomationGetTitlebarText Method
Gets the titlebar's text of the specified window.
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 string GetTitlebarText(
IntPtr hWnd
)
Public Shared Function GetTitlebarText (
hWnd As IntPtr
) As String
Dim hWnd As IntPtr
Dim returnValue As String
returnValue = UtilUIAutomation.GetTitlebarText(hWnd)
public:
static String^ GetTitlebarText(
IntPtr hWnd
)
static member GetTitlebarText :
hWnd : IntPtr -> string
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
An IntPtr to the window.
String
The titlebar's text of the target window.
This is a code example.
No code example is currently available or this language may not be supported.
MessageBox.Show(GetTitlebarText(Process.GetCurrentProcess.MainWindowHandle))
MessageBox.Show(GetTitlebarText(Process.GetProcessesByName("notepad").First.MainWindowHandle))
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.