ObservableRangeCollection<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
| ObservableRangeCollection<T>() |
Initializes a new instance of the System.Collections.ObjectModel.ObservableCollection(Of T) class. |
| ObservableRangeCollection<T>(IEnumerable<T>) |
Initializes a new instance of the System.Collections.ObjectModel.ObservableCollection(Of T) class that contains elements copied from the specified collection. |
ObservableRangeCollection<T>()
Initializes a new instance of the System.Collections.ObjectModel.ObservableCollection(Of T) class.
public ObservableRangeCollection();
Applies to
ObservableRangeCollection<T>(IEnumerable<T>)
Initializes a new instance of the System.Collections.ObjectModel.ObservableCollection(Of T) class that contains elements copied from the specified collection.
public ObservableRangeCollection(System.Collections.Generic.IEnumerable<T> collection);
Parameters
- collection
- System.Collections.Generic.IEnumerable<T>
collection: The collection from which the elements are copied.
Exceptions
The collection parameter cannot be null.