Partager via


HierarchyTreeFilterProvider.CreateFilter Method

Definition

Overloads

CreateFilter()

Creates a new filter for the given collection of root hierarchy items.

CreateFilter(IEnumerable)

Creates a new filter for the given collection of root items.

CreateFilter()

Creates a new filter for the given collection of root hierarchy items.

protected:
 abstract Microsoft::VisualStudio::Shell::HierarchyTreeFilterProvider::HierarchyTreeFilter ^ CreateFilter();
protected abstract Microsoft.VisualStudio.Shell.HierarchyTreeFilterProvider.HierarchyTreeFilter CreateFilter ();
abstract member CreateFilter : unit -> Microsoft.VisualStudio.Shell.HierarchyTreeFilterProvider.HierarchyTreeFilter
Protected MustOverride Function CreateFilter () As HierarchyTreeFilterProvider.HierarchyTreeFilter

Returns

A HierarchyTreeFilter instance that can be applied to the tree to control which items are included in the tree's filtered subset.

Applies to

CreateFilter(IEnumerable)

Creates a new filter for the given collection of root items.

public:
 virtual Microsoft::VisualStudio::Shell::ISolutionTreeFilter ^ CreateFilter(System::Collections::IEnumerable ^ rootItems);
public Microsoft.VisualStudio.Shell.ISolutionTreeFilter CreateFilter (System.Collections.IEnumerable rootItems);
abstract member CreateFilter : System.Collections.IEnumerable -> Microsoft.VisualStudio.Shell.ISolutionTreeFilter
override this.CreateFilter : System.Collections.IEnumerable -> Microsoft.VisualStudio.Shell.ISolutionTreeFilter
Public Function CreateFilter (rootItems As IEnumerable) As ISolutionTreeFilter

Parameters

rootItems
IEnumerable

The current collection of root items in the tree.

Returns

An ISolutionTreeFilter instance that can be applied to the tree to control which items are included in the tree's filtered subset.

Implements

Applies to