Upraviť

Zdieľať cez


ImmutableList<T>.IImmutableList<T>.AddRange Method

Definition

Adds the specified values to this immutable list.

 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 values to add.

Returns

A new list with the elements added.

Implements

Remarks

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

Applies to