Task::IVsTaskItem::OnDeleteTask Method ()

 

Raised when a task has been deleted.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int OnDeleteTask() sealed = IVsTaskItem::OnDeleteTask

Return Value

Type: System::Int32

S_OK.

This method is called only 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

Return to top
Show: