다음을 통해 공유


IVsTaskList.AutoFilter2 Method

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)

Syntax

‘선언
Function AutoFilter2 ( _
    ByRef guidCustomView As Guid _
) As Integer
‘사용 방법
Dim instance As IVsTaskList
Dim guidCustomView As Guid
Dim returnValue As Integer

returnValue = instance.AutoFilter2(guidCustomView)
int AutoFilter2(
    ref Guid guidCustomView
)
int AutoFilter2(
    Guid% guidCustomView
)
abstract AutoFilter2 : 
        guidCustomView:Guid byref -> int 
function AutoFilter2(
    guidCustomView : Guid
) : int

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.

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.

.NET Framework Security

See Also

Reference

IVsTaskList Interface

IVsTaskList Members

Microsoft.VisualStudio.Shell.Interop Namespace