HierarchyTreeFilterProvider.HierarchyTreeFilter.GetFilterDescendantsBehavior Method
Indicates whether to include descendants if none are explicitly specified.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Overridable Function GetFilterDescendantsBehavior ( _
item As Object _
) As FilterDescendantBehavior
public virtual FilterDescendantBehavior GetFilterDescendantsBehavior(
Object item
)
public:
virtual FilterDescendantBehavior GetFilterDescendantsBehavior(
Object^ item
)
abstract GetFilterDescendantsBehavior :
item:Object -> FilterDescendantBehavior
override GetFilterDescendantsBehavior :
item:Object -> FilterDescendantBehavior
public function GetFilterDescendantsBehavior(
item : Object
) : FilterDescendantBehavior
Parameters
item
Type: ObjectThe item for which to decide.
Return Value
Type: Microsoft.VisualStudio.Shell.FilterDescendantBehavior
Whether to exclude or include descendants by default.
Implements
ISolutionTreeFilter.GetFilterDescendantsBehavior(Object)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.