Compartir a través de


HierarchyTreeFilterProvider.CreateFilter Method

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

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

Syntax

'Declaration
Protected MustOverride Function CreateFilter As HierarchyTreeFilterProvider.HierarchyTreeFilter
protected abstract HierarchyTreeFilterProvider.HierarchyTreeFilter CreateFilter()
protected:
virtual HierarchyTreeFilterProvider::HierarchyTreeFilter^ CreateFilter() abstract
abstract CreateFilter : unit -> HierarchyTreeFilterProvider.HierarchyTreeFilter
protected abstract function CreateFilter() : HierarchyTreeFilterProvider.HierarchyTreeFilter

Return Value

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

.NET Framework Security

See Also

Reference

HierarchyTreeFilterProvider Class

CreateFilter Overload

Microsoft.VisualStudio.Shell Namespace