HierarchyTreeFilterProvider.HierarchyTreeFilter.GetIncludedItemsAsync Method

Definition

Asynchronously initializes and returns the set of items that are included by the filter.

protected:
 abstract System::Threading::Tasks::Task<Microsoft::VisualStudio::Shell::IReadOnlyObservableSet ^> ^ GetIncludedItemsAsync(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Shell::IVsHierarchyItem ^> ^ rootItems);
protected abstract System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.IReadOnlyObservableSet> GetIncludedItemsAsync (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Shell.IVsHierarchyItem> rootItems);
abstract member GetIncludedItemsAsync : seq<Microsoft.VisualStudio.Shell.IVsHierarchyItem> -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.IReadOnlyObservableSet>
Protected MustOverride Function GetIncludedItemsAsync (rootItems As IEnumerable(Of IVsHierarchyItem)) As Task(Of IReadOnlyObservableSet)

Parameters

rootItems
IEnumerable<IVsHierarchyItem>

The current collection of root hierarchy items in the tree.

Returns

A task that represents the asynchronous included items initialization.

Remarks

Use CancellationToken to respond to a cancellation request resulting from the filter being disabled.

Applies to