Interfaccia IReadOnlyObservableSet<T>
Provides a homogeneous collection of objects of type T.
Spazio dei nomi: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Sintassi
'Dichiarazione
Public Interface IReadOnlyObservableSet(Of T) _
Inherits IReadOnlyObservableSet, INotifyCollectionChanged, IEnumerable(Of T), _
IEnumerable
public interface IReadOnlyObservableSet<T> : IReadOnlyObservableSet,
INotifyCollectionChanged, IEnumerable<T>, IEnumerable
Parametri di tipo
- T
The type of items stored in the set.
Il tipo IReadOnlyObservableSet<T> espone i seguenti membri.
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Count | Gets the number of elements contained in the IReadOnlyObservableSet. (Ereditato da IReadOnlyObservableSet) |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Contains(Object) | Determines whether the IReadOnlyObservableSet contains a specific value. (Ereditato da IReadOnlyObservableSet) |
![]() |
Contains(T) | Determines whether the IReadOnlyObservableSet<T> contains a specific value. |
![]() |
GetEnumerator() | Restituisce un enumeratore che scorre la raccolta. (Ereditato da IEnumerable<T>) |
![]() |
GetEnumerator() | Restituisce un enumeratore che scorre una raccolta. (Ereditato da IEnumerable) |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
![]() |
CollectionChanged | Si verifica quando la raccolta. (Ereditato da INotifyCollectionChanged) |
In alto
Note
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.