次の方法で共有


Task.IVsTaskItem.OnFilterTask Method

Raised when a task has been filtered into or out of a view.

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

Syntax

'宣言
Private Function OnFilterTask ( _
    f As Integer _
) As Integer Implements IVsTaskItem.OnFilterTask
int IVsTaskItem.OnFilterTask(
    int f
)

Parameters

  • f
    Type: System.Int32
    If true, the task has become visible, otherwise it has become invisible.

Return Value

Type: System.Int32
S_OK .

Implements

IVsTaskItem.OnFilterTask(Int32)

Remarks

By default this method is not implemented.

This method is called when the view changes and certain tasks have been filtered in or out of the 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.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.VisualStudio.Shell Namespace