語言

ImmutableSortedDictionary.CreateBuilder 方法

定義

多載

名稱 Description
CreateBuilder<TKey,TValue>()

建立一個新的不可變排序字典建置器。

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

建立一個新的不可變排序字典建置器。

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

建立一個新的不可變排序字典建置器。

CreateBuilder<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>::Builder ^ CreateBuilder();
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue>();
static member CreateBuilder : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function CreateBuilder(Of TKey, TValue) () As ImmutableSortedDictionary(Of TKey, TValue).Builder

類型參數

TKey

字典中儲存的鍵型。

TValue

字典儲存的值類型。

傳回

不可改變的收藏建構者。

適用於

CreateBuilder<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>::Builder ^ CreateBuilder(System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue>(System.Collections.Generic.IComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue>(System.Collections.Generic.IComparer<TKey>? keyComparer);
static member CreateBuilder : System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function CreateBuilder(Of TKey, TValue) (keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue).Builder

類型參數

TKey

字典中儲存的鍵型。

TValue

字典儲存的值類型。

參數

keyComparer
IComparer<TKey>

關鍵比較器。

傳回

不可改變的收藏建構者。

適用於

CreateBuilder<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>::Builder ^ CreateBuilder(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue>(System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.Builder CreateBuilder<TKey,TValue>(System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member CreateBuilder : System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>.Builder
Public Function CreateBuilder(Of TKey, TValue) (keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue).Builder

類型參數

TKey

字典中儲存的鍵型。

TValue

字典儲存的值類型。

參數

keyComparer
IComparer<TKey>

關鍵比較器。

valueComparer
IEqualityComparer<TValue>

價值比較器。

傳回

不可改變的收藏建構者。

適用於