Compartir a través de


IReadOnlyObservableSet Interface

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaración
Public Interface IReadOnlyObservableSet _
    Inherits IEnumerable, INotifyCollectionChanged
public interface IReadOnlyObservableSet : IEnumerable, 
    INotifyCollectionChanged

The IReadOnlyObservableSet type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the IReadOnlyObservableSet.

Top

Methods

  Name Description
Public method Contains Determines whether the IReadOnlyObservableSet contains a specific value.
Public method GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Shell Namespace