IVsTaskItem::OnFilterTask Method (Int32)

 

Notifies the task provider that a task item has been filtered in or out of view.

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

int OnFilterTask(
	int fVisible
)

Parameters

fVisible
Type: System::Int32

[in] If true, then the task is visible. If false, then the task has been filtered out of view.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsTaskItem::OnFilterTask(
   [in]BOOL fVisible
);

This method is called when the view changes and certain tasks have been filtered in or out of 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 of IVsTaskList.

Return to top
Show: