Click or drag to resize

ItemGetContextMenu Method

Gets the Shell's context menu from this item.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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: ShellBoost.Core.WindowsShellBuildMenuOptions
The options.
context (Optional)
Type: System.Runtime.InteropServices.ComTypesIBindCtx
The bind context.
flags (Optional)
Type: 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