Click or drag to resize

ItemGetContextMenu Method

Gets the Shell's context menu from this item.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public Menu GetContextMenu(
	BuildMenuOptions options = BuildMenuOptions.None,
	IBindCtx context = null,
	CMF flags = CMF.CMF_NORMAL,
	bool throwOnError = true
)

Parameters

options (Optional)
Type: callback.ShellBoost.Core.WindowsShellBuildMenuOptions
The options.
context (Optional)
Type: System.Runtime.InteropServices.ComTypesIBindCtx
The bind context.
flags (Optional)
Type: callback.ShellBoost.Core.WindowsShellCMF
Optional flags that specify how the menu can be changed.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Menu
A Menu instance or null.
See Also