HierarchyTreeFilterProvider.HierarchyTreeFilter.GetFilterDescendantsBehavior Method

Definition

Decide whether to include descendents if none are exlicitly specified.

public:
 virtual Microsoft::VisualStudio::Shell::FilterDescendantBehavior GetFilterDescendantsBehavior(System::Object ^ item);
public:
 virtual Microsoft::VisualStudio::Shell::FilterDescendantBehavior GetFilterDescendantsBehavior(Platform::Object ^ item);
 virtual Microsoft::VisualStudio::Shell::FilterDescendantBehavior GetFilterDescendantsBehavior(winrt::Windows::Foundation::IInspectable const & item);
public virtual Microsoft.VisualStudio.Shell.FilterDescendantBehavior GetFilterDescendantsBehavior (object item);
abstract member GetFilterDescendantsBehavior : obj -> Microsoft.VisualStudio.Shell.FilterDescendantBehavior
override this.GetFilterDescendantsBehavior : obj -> Microsoft.VisualStudio.Shell.FilterDescendantBehavior
Public Overridable Function GetFilterDescendantsBehavior (item As Object) As FilterDescendantBehavior

Parameters

item
Object

The item to decide for

Returns

Whether to exclude or include by default

Implements

Remarks

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

Applies to