共用方式為


ISolutionTreeFilter.GetFilterDescendantsBehavior Method

Determines whether to include descendants if none are explicitly specified.

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

Syntax

'宣告
Function GetFilterDescendantsBehavior ( _
    item As Object _
) As FilterDescendantBehavior
FilterDescendantBehavior GetFilterDescendantsBehavior(
    Object item
)

Parameters

  • item
    Type: System.Object
    The item that requires the determination.

Return Value

Type: Microsoft.VisualStudio.Shell.FilterDescendantBehavior
The value that specifies whether to exclude or include by default.

Remarks

The default implementation includes descendants for non-hierarchy items. For hierarchies, it excludes descendants for folder and project nodes and includes descendants for typical member files

.NET Framework Security

See Also

Reference

ISolutionTreeFilter Interface

Microsoft.VisualStudio.Shell Namespace