Interfejs IReadOnlyObservableSet<T>
Provides a homogeneous collection of objects of type T.
Przestrzeń nazw: Microsoft.VisualStudio.Shell
Zestaw: Microsoft.VisualStudio.Shell.Immutable.11.0 (w Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Składnia
'Deklaracja
Public Interface IReadOnlyObservableSet(Of T) _
Inherits IReadOnlyObservableSet, INotifyCollectionChanged, IEnumerable(Of T), _
IEnumerable
public interface IReadOnlyObservableSet<T> : IReadOnlyObservableSet,
INotifyCollectionChanged, IEnumerable<T>, IEnumerable
Parametry typów
- T
The type of items stored in the set.
Typ IReadOnlyObservableSet<T> uwidacznia następujące elementy członkowskie.
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Count | Gets the number of elements contained in the IReadOnlyObservableSet. (Odziedziczone z IReadOnlyObservableSet). |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Contains(Object) | Determines whether the IReadOnlyObservableSet contains a specific value. (Odziedziczone z IReadOnlyObservableSet). |
![]() |
Contains(T) | Determines whether the IReadOnlyObservableSet<T> contains a specific value. |
![]() |
GetEnumerator() | Zwraca modułu wyliczającego, który dokonuje iteracji w kolekcji. (Odziedziczone z IEnumerable<T>). |
![]() |
GetEnumerator() | Zwraca modułu wyliczającego, który dokonuje iteracji kolekcji. (Odziedziczone z IEnumerable). |
Początek
Zdarzenia
Nazwa | Opis | |
---|---|---|
![]() |
CollectionChanged | Występuje, gdy kolekcja. (Odziedziczone z INotifyCollectionChanged). |
Początek
Uwagi
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.