言語

ImmutableSortedDictionary.Create メソッド

定義

オーバーロード

名前 説明
Create<TKey,TValue>()

変更できない並べ替えられた空のディクショナリを作成します。

Create<TKey,TValue>(IComparer<TKey>)

指定したキー比較子を使用する、変更できない並べ替えられた空のディクショナリを作成します。

Create<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>)

指定したキーと値の比較子を使用する、変更できない並べ替えられた空のディクショナリを作成します。

Create<TKey,TValue>()

ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs

変更できない並べ替えられた空のディクショナリを作成します。

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Create();
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue>();
static member Create : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) () As ImmutableSortedDictionary(Of TKey, TValue)

型パラメーター

TKey

ディクショナリによって格納されるキーの種類。

TValue

ディクショナリによって格納される値の型。

返品

空の変更できない並べ替えられたディクショナリ。

適用対象

Create<TKey,TValue>(IComparer<TKey>)

ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs

指定したキー比較子を使用する、変更できない並べ替えられた空のディクショナリを作成します。

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IComparer<TKey>? keyComparer);
static member Create : System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)

型パラメーター

TKey

ディクショナリによって格納されるキーの種類。

TValue

ディクショナリによって格納される値の型。

パラメーター

keyComparer
IComparer<TKey>

ディクショナリ内のキーの等価性を判断するために使用する実装。

返品

空の変更できない並べ替えられたディクショナリ。

適用対象

Create<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>)

ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs
ソース:
ImmutableSortedDictionary.cs

指定したキーと値の比較子を使用する、変更できない並べ替えられた空のディクショナリを作成します。

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member Create : System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)

型パラメーター

TKey

ディクショナリによって格納されるキーの種類。

TValue

ディクショナリによって格納される値の型。

パラメーター

keyComparer
IComparer<TKey>

ディクショナリ内のキーの等価性を判断するために使用する実装。

valueComparer
IEqualityComparer<TValue>

ディクショナリ内の値の等価性を判断するために使用する実装。

返品

空の変更できない並べ替えられたディクショナリ。

適用対象