ObservableList<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>