removeTask method



Removes a specified task from a TaskList.

Syntax

Task = TaskList.removeTask(nIdx)

Applies to

TaskList object.

Parameters

nIdx
int. The nIdx value is the index value of the task that this method removes from the TaskList.

Return value

Task. The Task value references the Task object that this method removes from the TaskList.

Usage

This method removes from the TaskList the task that you specify by its index value. This method does not remove the task from the Scheduler.

See also

deleteTasks method
removeAllTasks method
addTask method