HierarchyTreeFilterProvider::HierarchyTreeFilter::GetFilterDescendantsBehavior Method (Object^)

 

Indicates whether to include descendants if none are explicitly specified.

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

public:
virtual FilterDescendantBehavior GetFilterDescendantsBehavior(
	Object^ item
)

Parameters

item
Type: System::Object^

The item for which to decide.

Return Value

Type: Microsoft.VisualStudio.Shell::FilterDescendantBehavior

Whether to exclude or include descendants by default.

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.

Return to top
Show: