Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Provides a homogeneous collection of objects of type T.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'Declaration
Public Interface IReadOnlyObservableSet(Of T) _
Inherits IReadOnlyObservableSet, INotifyCollectionChanged, IEnumerable(Of T), _
IEnumerable
public interface IReadOnlyObservableSet<T> : IReadOnlyObservableSet,
INotifyCollectionChanged, IEnumerable<T>, IEnumerable
Type Parameters
- T
The type of items stored in the set.
The IReadOnlyObservableSet<T> type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the number of elements contained in the IReadOnlyObservableSet. (Inherited from IReadOnlyObservableSet.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Contains(Object) | Determines whether the IReadOnlyObservableSet contains a specific value. (Inherited from IReadOnlyObservableSet.) |
![]() |
Contains(T) | Determines whether the IReadOnlyObservableSet<T> contains a specific value. |
![]() |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<T>.) |
![]() |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) |
Top
Remarks
This interface is used by the ReadOnlyObservableSet<T> base class to specifically filter hierarchy items (not progressive nodes) in a solution filter. If you are creating a solution filter from scratch, use IReadOnlyObservableSet.
.gif)
.gif)
.gif)