ActionCollectionFindIndexOf(PredicateAction) Method
Searches for an
Action that matches the conditions defined by the specified predicate, and returns the zero-based
index of the first occurrence within the collection.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public int FindIndexOf(
Predicate<Action> match
)
- match PredicateAction
- The PredicateT delegate that defines the conditions of the element to search for.
Int32
The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.