Share via


IVsTaskItem2.OnDeleteTask Method

Definition

Notifies the task provider that a user has deleted a task.

public:
 int OnDeleteTask();
public:
 int OnDeleteTask();
int OnDeleteTask();
public int OnDeleteTask ();
abstract member OnDeleteTask : unit -> int
Public Function OnDeleteTask () As Integer

Returns

Implements

Remarks

This method is only called if the CanDelete method is set to true. When a task is deleted, you must remove the task from your internal list, but it is not necessary to call the RefreshTasks method on the task list.

Applies to