Udostępnij za pośrednictwem


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
Właściwość publiczna Count Gets the number of elements contained in the IReadOnlyObservableSet. (Odziedziczone z IReadOnlyObservableSet).

Początek

Metody

  Nazwa Opis
Metoda publiczna Contains(Object) Determines whether the IReadOnlyObservableSet contains a specific value. (Odziedziczone z IReadOnlyObservableSet).
Metoda publiczna Contains(T) Determines whether the IReadOnlyObservableSet<T> contains a specific value.
Metoda publiczna GetEnumerator() Zwraca modułu wyliczającego, który dokonuje iteracji w kolekcji. (Odziedziczone z IEnumerable<T>).
Metoda publiczna GetEnumerator() Zwraca modułu wyliczającego, który dokonuje iteracji kolekcji. (Odziedziczone z IEnumerable).

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie publiczne 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.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.Shell