ImmutableSortedDictionary.CreateBuilder Method

Definition

Overloads

CreateBuilder<TKey,TValue>()

Creates a new immutable sorted dictionary builder.

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

Creates a new immutable sorted dictionary builder.

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

Creates a new immutable sorted dictionary builder.

CreateBuilder<TKey,TValue>()

Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs

Creates a new immutable sorted dictionary builder.

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

Type Parameters

TKey

The type of keys stored by the dictionary.

TValue

The type of values stored by the dictionary.

Returns

The immutable collection builder.

Applies to

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

Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs

Creates a new immutable sorted dictionary builder.

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

Type Parameters

TKey

The type of keys stored by the dictionary.

TValue

The type of values stored by the dictionary.

Parameters

keyComparer
IComparer<TKey>

The key comparer.

Returns

The immutable collection builder.

Applies to

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

Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs

Creates a new immutable sorted dictionary builder.

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

Type Parameters

TKey

The type of keys stored by the dictionary.

TValue

The type of values stored by the dictionary.

Parameters

keyComparer
IComparer<TKey>

The key comparer.

valueComparer
IEqualityComparer<TValue>

The value comparer.

Returns

The immutable collection builder.

Applies to