Partager via


Task.IVsTaskItem.OnFilterTask(Int32) Method

Definition

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

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.OnFilterTask(int f) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::OnFilterTask;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.OnFilterTask(int f) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::OnFilterTask;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.OnFilterTask(int f);
int IVsTaskItem.OnFilterTask (int f);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.OnFilterTask : int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.OnFilterTask : int -> int
Function OnFilterTask (f As Integer) As Integer Implements IVsTaskItem.OnFilterTask

Parameters

f
Int32

If true, the task has become visible, otherwise it has become invisible.

Returns

S_OK.

Implements

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.

Applies to