In The Hand LtdIn The Hand
GetMainWindowTitle Method (p)
NamespacesInTheHand.DiagnosticsProcessHelperGetMainWindowTitle(Process)
.NET Components for Mobility
Gets the caption of the main window of the process.
Declaration Syntax
C#Visual Basic
public static string GetMainWindowTitle(
	Process p
)
Public Shared Function GetMainWindowTitle ( _
	p As Process _
) As String
Parameters
p (Process)
The Process
Return Value
The process's main window title.
Remarks
A process has a main window associated with it only if the process has a graphical interface. If the associated process does not have a main window (so that MainWindowHandle is zero), MainWindowTitle is an empty string ("").

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0