IFilteredHierarchyItemSet 接口

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.

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.Immutable.11.0(在 Microsoft.VisualStudio.Shell.Immutable.11.0.dll 中)

语法

声明
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

IFilteredHierarchyItemSet 类型公开以下成员。

属性

  名称 说明
公共属性 Count Gets the number of elements contained in the IReadOnlyObservableSet. (继承自 IReadOnlyObservableSet。)

页首

方法

  名称 说明
公共方法 Contains(Object) Determines whether the IReadOnlyObservableSet contains a specific value. (继承自 IReadOnlyObservableSet。)
公共方法 Contains(T) Determines whether the IReadOnlyObservableSet<T> contains a specific value. (继承自 IReadOnlyObservableSet<T>。)
公共方法 Dispose 执行与释放或重置非托管资源相关的应用程序定义的任务。 (继承自 IDisposable。)
公共方法 GetEnumerator() 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<IVsHierarchyItem>。)
公共方法 GetEnumerator() 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。)

页首

事件

  名称 说明
公共事件 CollectionChanged 当集合更改时发生。 (继承自 INotifyCollectionChanged。)

页首

备注

This is the interface returned by GetFilteredHierarchyItemsAsync.

请参见

参考

Microsoft.VisualStudio.Shell 命名空间