ImmutableArray<T>.InsertRange Método
Definición
Sobrecargas
InsertRange(Int32, IEnumerable<T>) |
Inserta los valores especificados en el índice especificado.Inserts the specified values at the specified index. |
InsertRange(Int32, ImmutableArray<T>) |
Inserta los valores especificados en el índice especificado.Inserts the specified values at the specified index. |
InsertRange(Int32, IEnumerable<T>)
Inserta los valores especificados en el índice especificado.Inserts the specified values at the specified index.
public:
System::Collections::Immutable::ImmutableArray<T> InsertRange(int index, System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> InsertRange (int index, System.Collections.Generic.IEnumerable<T> items);
member this.InsertRange : int * seq<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function InsertRange (index As Integer, items As IEnumerable(Of T)) As ImmutableArray(Of T)
Parámetros
- index
- Int32
Índice en el que se va a insertar el valor.The index at which to insert the value.
- items
- IEnumerable<T>
Elementos que van a insertarse.The elements to insert.
Devoluciones
Nueva matriz inmutable con los elementos insertados en el índice especificado.A new immutable array with the items inserted at the specified index.
Se aplica a
InsertRange(Int32, ImmutableArray<T>)
Inserta los valores especificados en el índice especificado.Inserts the specified values at the specified index.
public:
System::Collections::Immutable::ImmutableArray<T> InsertRange(int index, System::Collections::Immutable::ImmutableArray<T> items);
public System.Collections.Immutable.ImmutableArray<T> InsertRange (int index, System.Collections.Immutable.ImmutableArray<T> items);
member this.InsertRange : int * System.Collections.Immutable.ImmutableArray<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function InsertRange (index As Integer, items As ImmutableArray(Of T)) As ImmutableArray(Of T)
Parámetros
- index
- Int32
Índice en el que se va a insertar el valor.The index at which to insert the value.
- items
- ImmutableArray<T>
Elementos que van a insertarse.The elements to insert.
Devoluciones
Nueva matriz inmutable con los elementos insertados en el índice especificado.A new immutable array with the items inserted at the specified index.