Collapse the table of content
Expand the table of content

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.

Public classCollection<T>Provides the base class for a generic collection.
Public classKeyedCollection<TKey, TItem>Provides the abstract base class for a collection whose keys are embedded in the values.
Public classObservableCollection<T>Represents a dynamic data collection that provides notifications when items get added, removed, or when the entire list is refreshed.
Public classReadOnlyCollection<T>Provides the base class for a generic read-only collection.
Public classReadOnlyDictionary<TKey, TValue>Represents a read-only, generic collection of key/value pairs.
Public classReadOnlyDictionary<TKey, TValue>.KeyCollectionRepresents a read-only collection of the keys of a ReadOnlyDictionary<TKey, TValue> object.
Public classReadOnlyDictionary<TKey, TValue>.ValueCollectionRepresents a read-only collection of the values of a ReadOnlyDictionary<TKey, TValue> object.
Public classReadOnlyObservableCollection<T>Represents a read-only ObservableCollection<T>.

© 2017 Microsoft