語言

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

定義

將指定的值加入至這個不可變的清單。

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

參數

items
IEnumerable<T>

要補充的價值。

傳回

新增了元素清單。

實作

備註

此成員為明確介面成員實作。 它只能在實 ImmutableList<T> 例投射到 IImmutableList<T> 介面時使用。

適用於