Processes a message from a diferrence application instance for delivery of command line parameters.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static bool ProcessCommandLineMessage(
	ref Message m,
	ref string cmdLine
)

Parameters

m
Type: System.Windows.Forms..::.Message %
A message.
cmdLine
Type: System..::.String %
Command line parameters.

Return Value

trueTruetruetrue (True in Visual Basic) whether is a message with command line parameters.

Remarks

Method processes the message for delivery command line parameters. If m contains parameters, returns trueTruetruetrue (True in Visual Basic) and in cmdLine command line parameters. Otherwise falseFalsefalsefalse (False in Visual Basic) and cmdLine is let unchanged. XApplicationUtility..::.AllowOnlyOneInstance()()()

See Also