ImmutableList<T>.IImmutableList<T>.InsertRange 方法

定義

將指定的項目插入至不可變清單中的指定索引處。

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.InsertRange(int index, System::Collections::Generic::IEnumerable<T> ^ items) = System::Collections::Immutable::IImmutableList<T>::InsertRange;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.InsertRange (int index, System.Collections.Generic.IEnumerable<T> items);
abstract member System.Collections.Immutable.IImmutableList<T>.InsertRange : int * seq<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.InsertRange : int * seq<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function InsertRange (index As Integer, items As IEnumerable(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).InsertRange

參數

index
Int32

要插入元素的索引處。

items
IEnumerable<T>

要插入的項目。

傳回

IImmutableList<T>

新的不可變清單,其中包含指定的項目。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableList<T> 執行個體轉換成 IImmutableList<T> 介面時,才能使用這個成員。

適用於