Click or drag to resize

MenuInvoke Method

Invokes the specified menu.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int Invoke(
	MenuInvokeOptions options,
	bool throwOnError = true
)

Parameters

options
Type: callback.ShellBoost.Core.WindowsShellMenuInvokeOptions
The options.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
The result of the underlying IContextMenu::InvokeCommand method call. 0 if it succeeded, otherwise an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also