HierarchyTreeFilterProvider.CreateFilter 方法 (IEnumerable)

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

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Function CreateFilter ( _
    rootItems As IEnumerable _
) As ISolutionTreeFilter
public ISolutionTreeFilter CreateFilter(
    IEnumerable rootItems
)

参数

返回值

类型: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.

实现

ISolutionTreeFilterProvider.CreateFilter(IEnumerable)

.NET Framework 安全性

请参见

参考

HierarchyTreeFilterProvider 类

CreateFilter 重载

Microsoft.VisualStudio.Shell 命名空间