ImmutableArray<T>.AddRange Method

Definition

Overloads

AddRange(IEnumerable<T>)

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

AddRange(ImmutableArray<T>)

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

AddRange(IEnumerable<T>)

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

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

Parameters

items
IEnumerable<T>

The elements to add to the array.

Returns

A new array with the elements added.

AddRange(ImmutableArray<T>)

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

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(System::Collections::Immutable::ImmutableArray<T> items);
public System.Collections.Immutable.ImmutableArray<T> AddRange (System.Collections.Immutable.ImmutableArray<T> items);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As ImmutableArray(Of T)) As ImmutableArray(Of T)

Parameters

items
ImmutableArray<T>

The elements to add to the array.

Returns

A new array with the elements added.

Applies to