System.Collections.ObjectModel
TOC
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.

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

Show:
© 2017 Microsoft