This topic has not yet been rated - Rate this topic

ObservableCollection<T> Constructor (List<T>)

Initializes a new instance of the ObservableCollection<T> class and populates it with items copied from the specified list.

Namespace:  System.Collections.ObjectModel
Assembly:  System.Windows (in System.Windows.dll)
public ObservableCollection(
	List<T> list
)

Parameters

list
Type: System.Collections.Generic.List<T>
The list from which the items are copied.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ