findTask method



Returns a task specified by its index in the TaskList.

Syntax

Task = TaskList.findTask(nIdx)

Applies to

TaskList object.

Parameters

nIdx
int. The index in the TaskList of the task returned by this method.

Return value

Task. The Task value references the Task object returned by this method.

Usage

This method returns the task whose index in the TaskList is specified by nIdx. The first task in the TaskList has an index value of 0, the nearest task below it has an index value of 1, and so.

See also

findTask method (through Scheduler)
findSelectedTasks method
findAllTasks method