Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObservableCollection<T> Constructor (List<T>)

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

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 (in System.dll)

public ObservableCollection(
	List<T> list
)

Parameters

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show: