Click or drag to resize
Task Scheduler Managed Class Library

TriggerCollectionIndexOf(Trigger) Method

Determines the index of a specific item in the IListT.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public int IndexOf(
	Trigger item
)
Request Example View Source

Parameters

item  Trigger
The object to locate in the IListT.

Return Value

Int32
The index of item if found in the list; otherwise, -1.
See Also