ImmutableArray<T>.AddRange Método

Definición

Sobrecargas

AddRange(IEnumerable<T>)

Devuelve una copia de la matriz original con los elementos especificados agregados al final de la matriz.

AddRange(ImmutableArray<T>)

Devuelve una copia de la matriz original con los elementos especificados agregados al final de la matriz.

AddRange(ReadOnlySpan<T>)

Agrega los valores especificados a esta lista.

AddRange(T[])

Agrega los valores especificados a esta lista.

AddRange(ImmutableArray<T>, Int32)

Agrega los elementos especificados al final de la matriz.

AddRange(T[], Int32)

Agrega los elementos especificados al final de la matriz.

AddRange<TDerived>(ImmutableArray<TDerived>)

Agrega los elementos especificados al final de la matriz.

AddRange<TDerived>(TDerived[])

Agrega los elementos especificados al final de la matriz.

AddRange(IEnumerable<T>)

Devuelve una copia de la matriz original con los elementos especificados agregados al final de la matriz.

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)

Parámetros

items
IEnumerable<T>

Elementos que se van a agregar la matriz.

Devoluciones

Nueva matriz con los elementos agregados.

Se aplica a

AddRange(ImmutableArray<T>)

Devuelve una copia de la matriz original con los elementos especificados agregados al final de la matriz.

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)

Parámetros

items
ImmutableArray<T>

Elementos que se van a agregar la matriz.

Devoluciones

Nueva matriz con los elementos agregados.

Se aplica a

AddRange(ReadOnlySpan<T>)

Agrega los valores especificados a esta lista.

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

Parámetros

items
ReadOnlySpan<T>

Valores que se van a agregar.

Devoluciones

Una nueba lista con los elementos agregados.

Se aplica a

AddRange(T[])

Agrega los valores especificados a esta lista.

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(... cli::array <T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> AddRange (params T[] items);
member this.AddRange : 'T[] -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (ParamArray items As T()) As ImmutableArray(Of T)

Parámetros

items
T[]

Valores que se van a agregar.

Devoluciones

Una nueba lista con los elementos agregados.

Se aplica a

AddRange(ImmutableArray<T>, Int32)

Agrega los elementos especificados al final de la matriz.

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

Parámetros

items
ImmutableArray<T>

Valores que se van a agregar.

length
Int32

Número de elementos de la matriz de origen para agregar.

Devoluciones

Una nueba lista con los elementos agregados.

Se aplica a

AddRange(T[], Int32)

Agrega los elementos especificados al final de la matriz.

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(cli::array <T> ^ items, int length);
public System.Collections.Immutable.ImmutableArray<T> AddRange (T[] items, int length);
member this.AddRange : 'T[] * int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As T(), length As Integer) As ImmutableArray(Of T)

Parámetros

items
T[]

Valores que se van a agregar.

length
Int32

Número de elementos de la matriz de origen para agregar.

Devoluciones

Una nueba lista con los elementos agregados.

Se aplica a

AddRange<TDerived>(ImmutableArray<TDerived>)

Agrega los elementos especificados al final de la matriz.

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

Parámetros de tipo

TDerived

Tipo que se deriva el tipo de elemento ya está en la matriz.

Parámetros

items
ImmutableArray<TDerived>

Valores que se van a agregar.

Devoluciones

Una nueba lista con los elementos agregados.

Se aplica a

AddRange<TDerived>(TDerived[])

Agrega los elementos especificados al final de la matriz.

public:
generic <typename TDerived>
 where TDerived : T System::Collections::Immutable::ImmutableArray<T> AddRange(cli::array <TDerived> ^ items);
public System.Collections.Immutable.ImmutableArray<T> AddRange<TDerived> (TDerived[] items) where TDerived : T;
member this.AddRange : 'Derived[] -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange(Of TDerived As T) (items As TDerived()) As ImmutableArray(Of T)

Parámetros de tipo

TDerived

Tipo que se deriva el tipo de elemento ya está en la matriz.

Parámetros

items
TDerived[]

Valores que se van a agregar.

Devoluciones

Una nueba lista con los elementos agregados.

Se aplica a