IReadOnlyObservableSet, interface

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

Espace de noms :  Microsoft.VisualStudio.Shell
Assembly :  Microsoft.VisualStudio.Shell.Immutable.11.0 (dans Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntaxe

'Déclaration
Public Interface IReadOnlyObservableSet _
    Inherits IEnumerable, INotifyCollectionChanged
public interface IReadOnlyObservableSet : IEnumerable, 
    INotifyCollectionChanged

Le type IReadOnlyObservableSet expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of elements contained in the IReadOnlyObservableSet.

Début

Méthodes

  Nom Description
Méthode publique Contains Determines whether the IReadOnlyObservableSet contains a specific value.
Méthode publique GetEnumerator Retourne un énumérateur qui itère au sein d'une collection. (Hérité de IEnumerable.)

Début

Événements

  Nom Description
Événement public CollectionChanged Se produit lorsque la collection est modifiée. (Hérité de INotifyCollectionChanged.)

Début

Remarques

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

Voir aussi

Référence

Microsoft.VisualStudio.Shell, espace de noms