ImmutableSortedDictionary.CreateBuilder Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| CreateBuilder<TKey,TValue>() |
Skapar en ny oföränderlig sorterad ordlistebyggare. |
| CreateBuilder<TKey,TValue>(IComparer<TKey>) |
Skapar en ny oföränderlig sorterad ordlistebyggare. |
| CreateBuilder<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>) |
Skapar en ny oföränderlig sorterad ordlistebyggare. |
CreateBuilder<TKey,TValue>()
Skapar en ny oföränderlig sorterad ordlistebyggare.
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
Typparametrar
- TKey
Typ av nycklar som lagras i ordlistan.
- TValue
Den typ av värden som lagras i ordlistan.
Returer
Den oföränderliga samlingsverktyget.
Gäller för
CreateBuilder<TKey,TValue>(IComparer<TKey>)
Skapar en ny oföränderlig sorterad ordlistebyggare.
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
Typparametrar
- TKey
Typ av nycklar som lagras i ordlistan.
- TValue
Den typ av värden som lagras i ordlistan.
Parametrar
- keyComparer
- IComparer<TKey>
Nyckeljäxaren.
Returer
Den oföränderliga samlingsverktyget.
Gäller för
CreateBuilder<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>)
Skapar en ny oföränderlig sorterad ordlistebyggare.
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
Typparametrar
- TKey
Typ av nycklar som lagras i ordlistan.
- TValue
Den typ av värden som lagras i ordlistan.
Parametrar
- keyComparer
- IComparer<TKey>
Nyckeljäxaren.
- valueComparer
- IEqualityComparer<TValue>
Värdejäxaren.
Returer
Den oföränderliga samlingsverktyget.