Partager via


ObservableList<T> Constructors

Definition

Overloads

ObservableList<T>()

Initializes a new instance of the ObservableList<T> class.

ObservableList<T>(IEnumerable<T>)

Initializes a new instance of the ObservableList<T> class.

ObservableList<T>(List<T>)

Initializes a new instance of the ObservableList<T> class.

ObservableList<T>()

Initializes a new instance of the ObservableList<T> class.

public ObservableList ();
Public Sub New ()

Applies to

ObservableList<T>(IEnumerable<T>)

Initializes a new instance of the ObservableList<T> class.

public ObservableList (System.Collections.Generic.IEnumerable<T> collection);
new Microsoft.VisualStudio.Extensibility.UI.ObservableList<'T> : seq<'T> -> Microsoft.VisualStudio.Extensibility.UI.ObservableList<'T>
Public Sub New (collection As IEnumerable(Of T))

Parameters

collection
IEnumerable<T>

Applies to

ObservableList<T>(List<T>)

Initializes a new instance of the ObservableList<T> class.

public ObservableList (System.Collections.Generic.List<T> list);
new Microsoft.VisualStudio.Extensibility.UI.ObservableList<'T> : System.Collections.Generic.List<'T> -> Microsoft.VisualStudio.Extensibility.UI.ObservableList<'T>
Public Sub New (list As List(Of T))

Parameters

list
List<T>

Applies to