IVsTaskList::AutoFilter2 Method (Guid)

 

Filters the task list so only the specified view is shown.

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

int AutoFilter2(
	Guid% guidCustomView
)

Parameters

guidCustomView
Type: System::Guid

[in] GUID of the view to filter on.

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 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.

Return to top
Show: