ImmutableArray<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>

要添加到数组末尾的元素。

返回

一个新数组,其末尾已添加了元素。

实现

注解

此成员是显式接口成员的实现。 它只能在 ImmutableArray<T> 实例被强制转换为 IImmutableList<T> 接口时使用。

适用于