Click or drag to resize

MenuCreateDefaultContextMenu Method (IEnumerableIWithIdList, ContextMenuOptions, Boolean)

Creates the default context menu for a list of PIDLs.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int CreateDefaultContextMenu(
	IEnumerable<IWithIdList> idLists,
	ContextMenuOptions options = null,
	bool throwOnError = true
)

Parameters

idLists
Type: System.Collections.GenericIEnumerableIWithIdList
The list of PIDLs.
options (Optional)
Type: callback.ShellBoost.Core.WindowsShellContextMenuOptions
The options.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
0 or an error code.
See Also