IVsTaskList::AutoFilter Method (VSTASKCATEGORY)
Visual Studio 2015
Filters the task list so only the specified category is shown.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- cat
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSTASKCATEGORY
[in] Category to filter on. For a list of values, see VSTASKCATEGORY.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTaskList::AutoFilter(
[in] VSTASKCATEGORY cat
);
A view in a task list consists of a filter and a sort. Since only one category can be filtered at a time, the only way to display more than one category in a view is to display all of them by using the CAT_ALL enumeration of VSTASKCATEGORY.
To filter custom categories, see the AutoFilter2.
Show: