ActionCollectionFind Method

Searches for an Action that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire collection.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public Action Find(
	Predicate<Action> match
)

Parameters

match  PredicateAction
The PredicateT delegate that defines the conditions of the Action to search for.

Return Value

Action
The first Action that matches the conditions defined by the specified predicate, if found; otherwise, null.

See Also