IVsTaskItem2.OnDeleteTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.