Share via


ObservableRangeCollection<T> Constructors

Definition

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

System.ArgumentNullException

The collection parameter cannot be null.

Applies to