Share via


System.Collections.ObjectModel Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The System.Collections.ObjectModel namespace contains classes that can be used as collections in the object model of a reusable library. Use these classes when properties or methods return collections.

Classes

  Class Description
Public class Collection<T> Provides the base class for a generic collection.
Public class KeyedCollection<TKey, TItem> Provides the abstract base class for a collection whose keys are embedded in the values.
Public class ObservableCollection<T> Represents a dynamic data collection that provides notifications when items get added, removed, or when the entire list is refreshed.
Public class ReadOnlyCollection<T> Provides the base class for a generic read-only collection.
Public class ReadOnlyObservableCollection<T> Represents a read-only ObservableCollection<T>.