Uredi

Deli z drugimi prek


IImmutableList<T>.AddRange(IEnumerable<T>) Method

Definition

Makes a copy of the list and adds the specified objects to the end of the copied list.

public:
 System::Collections::Immutable::IImmutableList<T> ^ AddRange(System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.IImmutableList<T> AddRange (System.Collections.Generic.IEnumerable<T> items);
abstract member AddRange : seq<'T> -> System.Collections.Immutable.IImmutableList<'T>
Public Function AddRange (items As IEnumerable(Of T)) As IImmutableList(Of T)

Parameters

items
IEnumerable<T>

The objects to add to the list.

Returns

A new list with the elements added.

Applies to