IVsTaskList.AutoFilter2(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Filters the task list so only the specified view is shown.
public:
int AutoFilter2(Guid % guidCustomView);
public int AutoFilter2 (ref Guid guidCustomView);
abstract member AutoFilter2 : Guid -> int
Public Function AutoFilter2 (ByRef guidCustomView As Guid) As Integer
Parameters
- guidCustomView
- Guid
[in] GUID of the view to filter on.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTaskList::AutoFilter2(
REFGUID guidCustomView
);
IVsTaskList.AutoFilter2
allows you to filter a task list to show only a specific view. The view can either be a built-in view, or a custom view. Custom views are entirely registry based. You must specify the columns of the view and their order, the category of tasks shown in the view, and the default sort order for the view. For more information, see Creating a Custom Task List View
.