Export (0) Print
Expand All

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.

Community Additions

ADD
Show:
© 2014 Microsoft