ITriggerCollection::get_Item method (taskschd.h)

Gets the specified trigger from the collection.

This property is read-only.

Syntax

HRESULT get_Item(
  long     index,
  ITrigger **ppTrigger
);

Parameters

index

ppTrigger

Return value

None

Remarks

Collections are 1-based. That is, 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

ITriggerCollection

Task Scheduler