Click or drag to resize

ShellMenuChangeStatesWhere 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 ChangeStatesWhere(
	IEnumerable<ShellMenuItem> items,
	Func<ShellMenuItem, MFS?> predicate
)

Parameters

items
Type: System.Collections.GenericIEnumerableShellMenuItem
The input items. They should be taken from the existing menu.
predicate
Type: SystemFuncShellMenuItem, NullableMFS
The predicate.
Exceptions
ExceptionCondition
ArgumentNullExceptionitems or predicate is null.
See Also