共用方式為


ISolutionTreeFilterProvider.CreateFilter Method

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

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

Syntax

'宣告
Function CreateFilter ( _
    rootItems As IEnumerable _
) As ISolutionTreeFilter
ISolutionTreeFilter CreateFilter(
    IEnumerable rootItems
)

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.

.NET Framework Security

See Also

Reference

ISolutionTreeFilterProvider Interface

Microsoft.VisualStudio.Shell Namespace