ITaskFolderCollection::get_Item method (taskschd.h)

Gets the specified folder from the collection.

This property is read-only.

Syntax

HRESULT get_Item(
  VARIANT     index,
  ITaskFolder **ppFolder
);

Parameters

index

ppFolder

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

ITaskFolderCollection

Task Scheduler