Click or drag to resize
Task Scheduler Managed Class Library

ActionCollectionIndexOf Method (String)

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public int IndexOf(
	string actionId
)
Request Example View Source

Parameters

actionId
Type: SystemString
The id ( Id) of the action to be retrieved.

Return Value

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