IVsTaskItem2::OnFilterTask Method (Int32)
Visual Studio 2015
Notifies the task provider that a task item has been filtered in or out of view.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskItem::OnFilterTask(Int32)From vsshell.idl:
HRESULT IVsTaskItem2::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.
Show: