ObservableCollection(T) Constructor (List(T))
Collapse the table of content
Expand the table of content

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:
© 2017 Microsoft