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
Proprietà pubblica Count Gets the number of elements contained in the IReadOnlyObservableSet. (Ereditato da IReadOnlyObservableSet)

In alto

Metodi

  Nome Descrizione
Metodo pubblico Contains(Object) Determines whether the IReadOnlyObservableSet contains a specific value. (Ereditato da IReadOnlyObservableSet)
Metodo pubblico Contains(T) Determines whether the IReadOnlyObservableSet<T> contains a specific value.
Metodo pubblico GetEnumerator() Restituisce un enumeratore che scorre la raccolta. (Ereditato da IEnumerable<T>)
Metodo pubblico GetEnumerator() Restituisce un enumeratore che scorre una raccolta. (Ereditato da IEnumerable)

In alto

Eventi

  Nome Descrizione
Evento pubblico 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.

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.VisualStudio.Shell