Click or drag to resize

ShellMenuChangeStatesWhere 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 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