DataCollection<T>.AddRange DataCollection<T>.AddRange DataCollection<T>.AddRange DataCollection<T>.AddRange Method

Definition

Overloads

AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the DataCollection.

AddRange(T[]) AddRange(T[]) AddRange(T[]) AddRange(T[])

Adds the elements of the specified collection to the end of the DataCollection<T>.

AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the DataCollection.

public:
 void AddRange(System::Collections::Generic::IEnumerable<T> ^ items);
public void AddRange (System.Collections.Generic.IEnumerable<T> items);
member this.AddRange : seq<'T> -> unit
Public Sub AddRange (items As IEnumerable(Of T))

Parameters

items
IEnumerable<T>

Type: IEnumerable<T>. The collection whose elements should be added to the end of the DataCollection<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.

Remarks

This method extends the base Collection class to add List.AddRange functionality.

AddRange(T[]) AddRange(T[]) AddRange(T[]) AddRange(T[])

Adds the elements of the specified collection to the end of the DataCollection<T>.

public:
 void AddRange(... cli::array <T> ^ items);
public void AddRange (params T[] items);
member this.AddRange : 'T[] -> unit
Public Sub AddRange (ParamArray items As T())

Parameters

items
T[]

Type: T[]. The array whose elements should be added to the end of the DataCollection<T>. The array itself cannot be null, but it can contain elements that are null, if type T is a reference type.

Remarks

This method extends the base Collection class to add List.AddRange functionality.

Applies to