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
'宣告
Public Interface IReadOnlyObservableSet _
Inherits IEnumerable, INotifyCollectionChanged
public interface IReadOnlyObservableSet : IEnumerable,
INotifyCollectionChanged
The IReadOnlyObservableSet type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the IReadOnlyObservableSet. |
Top
Methods
Name | Description | |
---|---|---|
Contains | Determines whether the IReadOnlyObservableSet contains a specific value. | |
GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
Top
Events
Name | Description | |
---|---|---|
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.