Click or drag to resize

ItemGetNewMenu Method

Gets the Shell's New menu from this item.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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: ShellBoost.Core.WindowsShellBuildMenuOptions
The options.
flags (Optional)
Type: ShellBoost.Core.WindowsShellCMF
Optional flags that specify how the menu can be changed.
dataObject (Optional)
Type: System.Runtime.InteropServices.ComTypesIDataObject
An optional data object instance.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Menu
A Menu instance or null.
See Also