ImmutableArray<T>.AddRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| 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.
Applies to
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.