ImmutableArray<T>.InsertRange Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| InsertRange(Int32, ImmutableArray<T>) |
Insere os valores especificados no índice especificado. |
| InsertRange(Int32, IEnumerable<T>) |
Insere os valores especificados no índice especificado. |
InsertRange(Int32, ImmutableArray<T>)
Insere os valores especificados no índice especificado.
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
O índice onde inserir o valor.
- items
- ImmutableArray<T>
Os elementos a inserir.
Devoluções
Um novo array imutável com os itens inseridos no índice especificado.
Aplica-se a
InsertRange(Int32, IEnumerable<T>)
Insere os valores especificados no índice especificado.
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
O índice onde inserir o valor.
- items
- IEnumerable<T>
Os elementos a inserir.
Devoluções
Um novo array imutável com os itens inseridos no índice especificado.