ObservableList<T>.AddRange Method
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
AddRange(IEnumerable<T>) | |
AddRange(IList<T>) |
AddRange(IEnumerable<T>)
Adds the elements of the specified collection to the end of the List<T>.
public void AddRange (System.Collections.Generic.IEnumerable<T> collection);
member this.AddRange : seq<'T> -> unit
Public Sub AddRange (collection As IEnumerable(Of T))
Parameters
- collection
- IEnumerable<T>
Applies to
AddRange(IList<T>)
Adds the elements of the specified collection to the end of the List<T>.
public void AddRange (System.Collections.Generic.IList<T> collection);
member this.AddRange : System.Collections.Generic.IList<'T> -> unit
Public Sub AddRange (collection As IList(Of T))
Parameters
- collection
- IList<T>