Interfaccia IReadOnlyObservableSet

Provides a heterogeneous collection of objects (non-type safe).

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 _
    Inherits IEnumerable, INotifyCollectionChanged
public interface IReadOnlyObservableSet : IEnumerable, 
    INotifyCollectionChanged

Il tipo IReadOnlyObservableSet espone i seguenti membri.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of elements contained in the IReadOnlyObservableSet.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Contains Determines whether the IReadOnlyObservableSet contains a specific value.
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

Use this interface if you are creating a solution filter from scratch. Otherwise, use the IReadOnlyObservableSet<T> interface.

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.VisualStudio.Shell