Share via


IFilteredHierarchyItemSet Interface

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.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaration
Public Interface IFilteredHierarchyItemSet _
    Inherits IReadOnlyObservableSet(Of IVsHierarchyItem), IReadOnlyObservableSet, INotifyCollectionChanged,  _
    IEnumerable(Of IVsHierarchyItem), IEnumerable, IDisposable
public interface IFilteredHierarchyItemSet : IReadOnlyObservableSet<IVsHierarchyItem>, 
    IReadOnlyObservableSet, INotifyCollectionChanged, IEnumerable<IVsHierarchyItem>, IEnumerable, 
    IDisposable
public interface class IFilteredHierarchyItemSet : IReadOnlyObservableSet<IVsHierarchyItem^>, 
    IReadOnlyObservableSet, INotifyCollectionChanged, IEnumerable<IVsHierarchyItem^>, IEnumerable, 
    IDisposable
type IFilteredHierarchyItemSet =  
    interface 
        interface IReadOnlyObservableSet<IVsHierarchyItem>
        interface IReadOnlyObservableSet 
        interface INotifyCollectionChanged 
        interface IEnumerable<IVsHierarchyItem>
        interface IEnumerable 
        interface IDisposable 
    end
public interface IFilteredHierarchyItemSet extends IReadOnlyObservableSet<IVsHierarchyItem>, IReadOnlyObservableSet, INotifyCollectionChanged, IEnumerable<IVsHierarchyItem>, IEnumerable, IDisposable

The IFilteredHierarchyItemSet type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the IReadOnlyObservableSet. (Inherited from IReadOnlyObservableSet.)

Top

Methods

  Name Description
Public method Contains(Object) Determines whether the IReadOnlyObservableSet contains a specific value. (Inherited from IReadOnlyObservableSet.)
Public method Contains(T) Determines whether the IReadOnlyObservableSet<T> contains a specific value. (Inherited from IReadOnlyObservableSet<T>.)
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IVsHierarchyItem>.)

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)

Top

Remarks

This is the interface returned by GetFilteredHierarchyItemsAsync.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace