Upraviť

Zdieľať cez


ImmutableArray<T>.IImmutableList<T>.AddRange Method

Definition

Returns a copy of the original array with the specified elements added to the end of the array.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.AddRange(System::Collections::Generic::IEnumerable<T> ^ items) = System::Collections::Immutable::IImmutableList<T>::AddRange;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.AddRange (System.Collections.Generic.IEnumerable<T> items);
abstract member System.Collections.Immutable.IImmutableList<T>.AddRange : seq<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.AddRange : seq<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function AddRange (items As IEnumerable(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).AddRange

Parameters

items
IEnumerable<T>

The elements to add to the end of the array.

Returns

A new array with the elements added to the end.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.

Applies to