Click or drag to resize

ShellMenuRemoveIdsWhere Method

Removes a list of menu item ids using a predicate function.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public void RemoveIdsWhere(
	IEnumerable<ShellMenuItem> items,
	Func<ShellMenuItem, bool> predicate
)

Parameters

items
Type: System.Collections.GenericIEnumerableShellMenuItem
The input items. They should be taken from the existing menu.
predicate
Type: SystemFuncShellMenuItem, Boolean
The predicate. If null, all matching items and will be removed.
Exceptions
ExceptionCondition
ArgumentNullExceptionitems is null.
See Also