TriggerCollectionIndexOf(String) Method

Determines the index of a specific item in the IListT.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public int IndexOf(
	string triggerId
)

Parameters

triggerId  String
The id ( Id) of the trigger to be retrieved.

Return Value

Int32
The index of triggerId if found in the list; otherwise, -1.

See Also