IActionCollection::get_Item method (taskschd.h)

Gets a specified action from the collection.

This property is read-only.

Syntax

HRESULT get_Item(
  long    index,
  IAction **ppAction
);

Parameters

index

ppAction

Return value

None

Remarks

Collections are 1-based. In other words, the index for the first item in the collection is 1.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

IActionCollection

Task Scheduler