ImmutableList.Create メソッド

定義

オーバーロード

名前 説明
Create<T>()

空の変更できないリストを作成します。

Create<T>(ReadOnlySpan<T>)

指定した項目範囲の項目を含む新しい変更できないリストを作成します。

Create<T>(T)

指定した項目を含む新しい変更できないリストを作成します。

Create<T>(T[])

指定した項目の配列を含む新しい変更できないリストを作成します。

Create<T>()

ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs

空の変更できないリストを作成します。

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create();
public static System.Collections.Immutable.ImmutableList<T> Create<T>();
static member Create : unit -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) () As ImmutableList(Of T)

型パラメーター

T

に格納する項目の種類。

返品

空の変更できないリスト。

適用対象

Create<T>(ReadOnlySpan<T>)

ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs

指定した項目範囲の項目を含む新しい変更できないリストを作成します。

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create(ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(scoped ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(ReadOnlySpan<T> items);
static member Create : ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) (items As ReadOnlySpan(Of T)) As ImmutableList(Of T)

型パラメーター

T

コレクションによって格納される項目の種類。

パラメーター

items
ReadOnlySpan<T>

リストに事前入力する項目を含むスパン。

返品

指定した項目を含む新しい変更できないリスト。

適用対象

Create<T>(T)

ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs

指定した項目を含む新しい変更できないリストを作成します。

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create(T item);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(T item);
static member Create : 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) (item As T) As ImmutableList(Of T)

型パラメーター

T

内の項目の種類。

パラメーター

item
T

リストの事前設定に使用する項目。

返品

指定した項目を含む新規。

適用対象

Create<T>(T[])

ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs
ソース:
ImmutableList.cs

指定した項目の配列を含む新しい変更できないリストを作成します。

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableList<T> ^ Create(... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableList<T> Create<T>(params T[] items);
static member Create : 'T[] -> System.Collections.Immutable.ImmutableList<'T>
Public Function Create(Of T) (ParamArray items As T()) As ImmutableList(Of T)

型パラメーター

T

内の項目の種類。

パラメーター

items
T[]

リストに事前入力する項目を含む配列。

返品

指定した項目を含む新しい変更できないリスト。

適用対象