ImmutableArray<T>.AddRange メソッド

定義

オーバーロード

AddRange(IEnumerable<T>)

元の配列のコピーの末尾に指定した要素を追加して返します。

AddRange(ImmutableArray<T>)

元の配列のコピーの末尾に指定した要素を追加して返します。

AddRange(ReadOnlySpan<T>)

指定した値をこのリストに追加します。

AddRange(T[])

指定した値をこのリストに追加します。

AddRange(ImmutableArray<T>, Int32)

指定した項目を配列の末尾に追加します。

AddRange(T[], Int32)

指定した項目を配列の末尾に追加します。

AddRange<TDerived>(ImmutableArray<TDerived>)

指定した項目を配列の末尾に追加します。

AddRange<TDerived>(TDerived[])

指定した項目を配列の末尾に追加します。

AddRange(IEnumerable<T>)

元の配列のコピーの末尾に指定した要素を追加して返します。

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> AddRange (System.Collections.Generic.IEnumerable<T> items);
member this.AddRange : seq<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As IEnumerable(Of T)) As ImmutableArray(Of T)

パラメーター

items
IEnumerable<T>

配列に追加する要素。

戻り値

ImmutableArray<T>

要素が追加された新しい配列。

適用対象

AddRange(ImmutableArray<T>)

元の配列のコピーの末尾に指定した要素を追加して返します。

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(System::Collections::Immutable::ImmutableArray<T> items);
public System.Collections.Immutable.ImmutableArray<T> AddRange (System.Collections.Immutable.ImmutableArray<T> items);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As ImmutableArray(Of T)) As ImmutableArray(Of T)

パラメーター

items
ImmutableArray<T>

配列に追加する要素。

戻り値

ImmutableArray<T>

要素が追加された新しい配列。

適用対象

AddRange(ReadOnlySpan<T>)

指定した値をこのリストに追加します。

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(ReadOnlySpan<T> items);
public System.Collections.Immutable.ImmutableArray<T> AddRange (ReadOnlySpan<T> items);
member this.AddRange : ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As ReadOnlySpan(Of T)) As ImmutableArray(Of T)

パラメーター

items
ReadOnlySpan<T>

追加する値。

戻り値

ImmutableArray<T>

要素が追加された新しいリスト。

適用対象

AddRange(T[])

指定した値をこのリストに追加します。

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(... cli::array <T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> AddRange (params T[] items);
member this.AddRange : 'T[] -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (ParamArray items As T()) As ImmutableArray(Of T)

パラメーター

items
T[]

追加する値。

戻り値

ImmutableArray<T>

要素が追加された新しいリスト。

適用対象

AddRange(ImmutableArray<T>, Int32)

指定した項目を配列の末尾に追加します。

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(System::Collections::Immutable::ImmutableArray<T> items, int length);
public System.Collections.Immutable.ImmutableArray<T> AddRange (System.Collections.Immutable.ImmutableArray<T> items, int length);
member this.AddRange : System.Collections.Immutable.ImmutableArray<'T> * int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As ImmutableArray(Of T), length As Integer) As ImmutableArray(Of T)

パラメーター

items
ImmutableArray<T>

追加する値。

length
Int32

追加するソース配列の要素の数。

戻り値

ImmutableArray<T>

要素が追加された新しいリスト。

適用対象

AddRange(T[], Int32)

指定した項目を配列の末尾に追加します。

public:
 System::Collections::Immutable::ImmutableArray<T> AddRange(cli::array <T> ^ items, int length);
public System.Collections.Immutable.ImmutableArray<T> AddRange (T[] items, int length);
member this.AddRange : 'T[] * int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange (items As T(), length As Integer) As ImmutableArray(Of T)

パラメーター

items
T[]

追加する値。

length
Int32

追加するソース配列の要素の数。

戻り値

ImmutableArray<T>

要素が追加された新しいリスト。

適用対象

AddRange<TDerived>(ImmutableArray<TDerived>)

指定した項目を配列の末尾に追加します。

public:
generic <typename TDerived>
 where TDerived : T System::Collections::Immutable::ImmutableArray<T> AddRange(System::Collections::Immutable::ImmutableArray<TDerived> items);
public System.Collections.Immutable.ImmutableArray<T> AddRange<TDerived> (System.Collections.Immutable.ImmutableArray<TDerived> items) where TDerived : T;
member this.AddRange : System.Collections.Immutable.ImmutableArray<#'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange(Of TDerived As T) (items As ImmutableArray(Of TDerived)) As ImmutableArray(Of T)

型パラメーター

TDerived

パラメーター

items
ImmutableArray<TDerived>

追加する値。

戻り値

ImmutableArray<T>

要素が追加された新しいリスト。

適用対象

AddRange<TDerived>(TDerived[])

指定した項目を配列の末尾に追加します。

public:
generic <typename TDerived>
 where TDerived : T System::Collections::Immutable::ImmutableArray<T> AddRange(cli::array <TDerived> ^ items);
public System.Collections.Immutable.ImmutableArray<T> AddRange<TDerived> (TDerived[] items) where TDerived : T;
member this.AddRange : 'Derived[] -> System.Collections.Immutable.ImmutableArray<'T>
Public Function AddRange(Of TDerived As T) (items As TDerived()) As ImmutableArray(Of T)

型パラメーター

TDerived

パラメーター

items
TDerived[]

追加する値。

戻り値

ImmutableArray<T>

要素が追加された新しいリスト。

適用対象