System.Collections.ObjectModel Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
Collection<(Of <(T>)>) Provides the base class for a generic collection.
KeyedCollection<(Of <(TKey, TItem>)>) Provides the abstract base class for a collection whose keys are embedded in the values.
ObservableCollection<(Of <(T>)>) Represents a dynamic data collection that provides notifications when items get added, removed, or when the entire list is refreshed.
ReadOnlyCollection<(Of <(T>)>) Provides the base class for a generic read-only collection.
ReadOnlyDictionary<(Of <(TKey, TValue>)>) Represents a read-only, generic collection of key/value pairs.
ReadOnlyDictionary<(Of <(TKey, TValue>)>)..::.KeyCollection Represents a read-only collection of the keys of a ReadOnlyDictionary<(Of <(TKey, TValue>)>) object.
ReadOnlyDictionary<(Of <(TKey, TValue>)>)..::.ValueCollection Represents a read-only collection of the values of a ReadOnlyDictionary<(Of <(TKey, TValue>)>) object.
ReadOnlyObservableCollection<(Of <(T>)>) Represents a read-only ObservableCollection<(Of <(T>)>).