Click or drag to resize

ShellMenuRemoveIdsWhere Method

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

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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