Share via


IFilteredHierarchyItemSet Interface

Definition

Provides a flattened list of hierarchy items that represents all items in the hierarchy, and raises events when items are added to or removed from the hierarchy.

public interface class IFilteredHierarchyItemSet : IDisposable, Microsoft::VisualStudio::Shell::IReadOnlyObservableSet<Microsoft::VisualStudio::Shell::IVsHierarchyItem ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Shell::IVsHierarchyItem ^>, System::Collections::Specialized::INotifyCollectionChanged
public interface IFilteredHierarchyItemSet : IDisposable, Microsoft.VisualStudio.Shell.IReadOnlyObservableSet<Microsoft.VisualStudio.Shell.IVsHierarchyItem>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Shell.IVsHierarchyItem>, System.Collections.Specialized.INotifyCollectionChanged
type IFilteredHierarchyItemSet = interface
    interface IReadOnlyObservableSet<IVsHierarchyItem>
    interface IReadOnlyObservableSet
    interface IEnumerable
    interface INotifyCollectionChanged
    interface seq<IVsHierarchyItem>
    interface IDisposable
Public Interface IFilteredHierarchyItemSet
Implements IDisposable, IEnumerable(Of IVsHierarchyItem), INotifyCollectionChanged, IReadOnlyObservableSet(Of IVsHierarchyItem)
Implements

Remarks

This is the interface returned by GetFilteredHierarchyItemsAsync.

Properties

Count

Gets the number of elements contained in the IReadOnlyObservableSet.

(Inherited from IReadOnlyObservableSet)

Methods

Contains(Object)

Determines whether the IReadOnlyObservableSet contains a specific value.

(Inherited from IReadOnlyObservableSet)
Contains(T)

Determines whether the IReadOnlyObservableSet<T> contains a specific value.

(Inherited from IReadOnlyObservableSet<T>)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to