Click or drag to resize

Item.GetNewMenu Method

Gets the Shell's New 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 GetNewMenu(
	BuildMenuOptions options = BuildMenuOptions.None,
	CMF flags = CMF.CMF_NORMAL,
	IDataObject dataObject = null,
	bool throwOnError = true
)

Parameters

options (Optional)
Type: callback.ShellBoost.Core.WindowsShell.BuildMenuOptions
The options.
flags (Optional)
Type: callback.ShellBoost.Core.WindowsShell.CMF
Optional flags that specify how the menu can be changed.
dataObject (Optional)
Type: System.Runtime.InteropServices.ComTypes.IDataObject
An optional data object instance.
throwOnError (Optional)
Type: System.Boolean
true to throw error; otherwise false.

Return Value

Type: Menu
A Menu instance or null.
See Also