Share via


HierarchyTreeFilterProvider.CreateFilter Method (IEnumerable)

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

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

Syntax

'Declaration
Public Function CreateFilter ( _
    rootItems As IEnumerable _
) As ISolutionTreeFilter
public ISolutionTreeFilter CreateFilter(
    IEnumerable rootItems
)
public:
virtual ISolutionTreeFilter^ CreateFilter(
    IEnumerable^ rootItems
) sealed
abstract CreateFilter : 
        rootItems:IEnumerable -> ISolutionTreeFilter  
override CreateFilter : 
        rootItems:IEnumerable -> ISolutionTreeFilter
public final function CreateFilter(
    rootItems : IEnumerable
) : ISolutionTreeFilter

Parameters

Return Value

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

Implements

ISolutionTreeFilterProvider.CreateFilter(IEnumerable)

.NET Framework Security

See Also

Reference

HierarchyTreeFilterProvider Class

CreateFilter Overload

Microsoft.VisualStudio.Shell Namespace