Task::IVsTaskItem::OnFilterTask Method (Int32)

 

Raised when a task has been filtered into or out of a view.

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

private:
virtual int OnFilterTask(
	int f
) sealed = IVsTaskItem::OnFilterTask

Parameters

f
Type: System::Int32

If true, the task has become visible, otherwise it has become invisible.

Return Value

Type: System::Int32

S_OK.

By default this method is not implemented.

This method is called when the view changes and certain tasks have been filtered in or out of the view. This can happen, for example, when the user changes the current view of the task list, or by calling the RefreshTasks , AutoFilter, or AutoFilter2 methods.

Return to top
Show: