ImmutableArray<T>.Builder.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
AddRange(IEnumerable<T>) |
Adds the specified items to the end of the array. |
AddRange(ImmutableArray<T>) |
Adds the specified items to the end of the array. |
AddRange(ImmutableArray<T>.Builder) |
Adds the specified items to the end of the array. |
AddRange(ReadOnlySpan<T>) |
Adds the specified items to the end of the array. |
AddRange(T[]) |
Adds the specified items to the end of the array. |
AddRange(ImmutableArray<T>, Int32) |
Adds the specified items to the end of the array. |
AddRange(T[], Int32) |
Adds the specified items to the end of the array. |
AddRange<TDerived>(ImmutableArray<TDerived>) |
Adds the specified items that derive from the type currently in the array, to the end of the array. |
AddRange<TDerived>(ImmutableArray<TDerived>.Builder) |
Adds the specified items that derive from the type currently in the array, to the end of the array. |
AddRange<TDerived>(ReadOnlySpan<TDerived>) |
Adds the specified items to the end of the array. |
AddRange<TDerived>(TDerived[]) |
Adds the specified items that derive from the type currently in the array, to the end of the array. |
AddRange(IEnumerable<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(System::Collections::Generic::IEnumerable<T> ^ items);
public void AddRange (System.Collections.Generic.IEnumerable<T> items);
member this.AddRange : seq<'T> -> unit
Public Sub AddRange (items As IEnumerable(Of T))
Parameters
- items
- IEnumerable<T>
The items to add to the array.
Applies to
AddRange(ImmutableArray<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(System::Collections::Immutable::ImmutableArray<T> items);
public void AddRange (System.Collections.Immutable.ImmutableArray<T> items);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> -> unit
Public Sub AddRange (items As ImmutableArray(Of T))
Parameters
- items
- ImmutableArray<T>
The items to add to the array.
Applies to
AddRange(ImmutableArray<T>.Builder)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(System::Collections::Immutable::ImmutableArray<T>::Builder ^ items);
public void AddRange (System.Collections.Immutable.ImmutableArray<T>.Builder items);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T>.Builder -> unit
Public Sub AddRange (items As ImmutableArray(Of T).Builder)
Parameters
The items to add to the array.
Applies to
AddRange(ReadOnlySpan<T>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(ReadOnlySpan<T> items);
public void AddRange (ReadOnlySpan<T> items);
public void AddRange (scoped ReadOnlySpan<T> items);
member this.AddRange : ReadOnlySpan<'T> -> unit
Public Sub AddRange (items As ReadOnlySpan(Of T))
Parameters
- items
- ReadOnlySpan<T>
The items to add at the end of the array.
Applies to
AddRange(T[])
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(... cli::array <T> ^ items);
public void AddRange (params T[] items);
member this.AddRange : 'T[] -> unit
Public Sub AddRange (ParamArray items As T())
Parameters
- items
- T[]
The items to add to the array.
Applies to
AddRange(ImmutableArray<T>, Int32)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(System::Collections::Immutable::ImmutableArray<T> items, int length);
public void AddRange (System.Collections.Immutable.ImmutableArray<T> items, int length);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> * int -> unit
Public Sub AddRange (items As ImmutableArray(Of T), length As Integer)
Parameters
- items
- ImmutableArray<T>
The items to add to the array.
- length
- Int32
The number of elements from the source array to add.
Applies to
AddRange(T[], Int32)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
void AddRange(cli::array <T> ^ items, int length);
public void AddRange (T[] items, int length);
member this.AddRange : 'T[] * int -> unit
Public Sub AddRange (items As T(), length As Integer)
Parameters
- items
- T[]
The items to add to the array.
- length
- Int32
The number of elements from the source array to add.
Applies to
AddRange<TDerived>(ImmutableArray<TDerived>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items that derive from the type currently in the array, to the end of the array.
public:
generic <typename TDerived>
where TDerived : T void AddRange(System::Collections::Immutable::ImmutableArray<TDerived> items);
public void AddRange<TDerived> (System.Collections.Immutable.ImmutableArray<TDerived> items) where TDerived : T;
member this.AddRange : System.Collections.Immutable.ImmutableArray<#'T> -> unit
Public Sub AddRange(Of TDerived As T) (items As ImmutableArray(Of TDerived))
Type Parameters
- TDerived
The type that derives from the type of item already in the array.
Parameters
- items
- ImmutableArray<TDerived>
The items to add to the end of the array.
Applies to
AddRange<TDerived>(ImmutableArray<TDerived>.Builder)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items that derive from the type currently in the array, to the end of the array.
public:
generic <typename TDerived>
where TDerived : T void AddRange(System::Collections::Immutable::ImmutableArray<TDerived>::Builder ^ items);
public void AddRange<TDerived> (System.Collections.Immutable.ImmutableArray<TDerived>.Builder items) where TDerived : T;
member this.AddRange : System.Collections.Immutable.ImmutableArray<#'T>.Builder -> unit
Public Sub AddRange(Of TDerived As T) (items As ImmutableArray(Of TDerived).Builder)
Type Parameters
- TDerived
The type that derives from the type of item already in the array.
Parameters
- items
- ImmutableArray<TDerived>.Builder
The items to add to the end of the array.
Applies to
AddRange<TDerived>(ReadOnlySpan<TDerived>)
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items to the end of the array.
public:
generic <typename TDerived>
where TDerived : T void AddRange(ReadOnlySpan<TDerived> items);
public void AddRange<TDerived> (ReadOnlySpan<TDerived> items) where TDerived : T;
public void AddRange<TDerived> (scoped ReadOnlySpan<TDerived> items) where TDerived : T;
member this.AddRange : ReadOnlySpan<#'T> -> unit
Public Sub AddRange(Of TDerived As T) (items As ReadOnlySpan(Of TDerived))
Type Parameters
- TDerived
The type that derives from the type of item already in the array.
Parameters
- items
- ReadOnlySpan<TDerived>
The items to add at the end of the array.
Applies to
AddRange<TDerived>(TDerived[])
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
- Source:
- ImmutableArray_1.Builder.cs
Adds the specified items that derive from the type currently in the array, to the end of the array.
public:
generic <typename TDerived>
where TDerived : T void AddRange(cli::array <TDerived> ^ items);
public void AddRange<TDerived> (TDerived[] items) where TDerived : T;
member this.AddRange : 'Derived[] -> unit
Public Sub AddRange(Of TDerived As T) (items As TDerived())
Type Parameters
- TDerived
The type that derives from the type of item already in the array.
Parameters
- items
- TDerived[]
The items to add to end of the array.
Applies to
.NET