Click or drag to resize

ShellFolderAddNewMenuToMenu Method

Adds the New menu to a menu. It only works if the AddNewMenuTemplatePath value is not null nor empty. If this doesn't work, you can validate the path using Item.FromParsingName() method.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public virtual bool AddNewMenuToMenu(
	ShellMenu menu
)

Parameters

menu
Type: ShellBoost.CoreShellMenu
The menu to add the New menu to.

Return Value

Type: Boolean
true if the New menu was added; false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionmenu is null.
See Also