Share via


ImmutableSortedDictionary.Create Méthode

Définition

Surcharges

Create<TKey,TValue>()

Crée un dictionnaire trié immuable vide.

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

Crée un dictionnaire trié immuable vide qui utilise le comparateur de clé spécifié.

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

Crée un dictionnaire trié immuable vide qui utilise les comparateurs de clé et de valeur spécifiés.

Create<TKey,TValue>()

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

Crée un dictionnaire trié immuable vide.

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)

Paramètres de type

TKey

Type des clés stockées par le dictionnaire.

TValue

Type des valeurs stockées par le dictionnaire.

Retours

Dictionnaire trié immuable vide.

S’applique à

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

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

Crée un dictionnaire trié immuable vide qui utilise le comparateur de clé spécifié.

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)

Paramètres de type

TKey

Type des clés stockées par le dictionnaire.

TValue

Type des valeurs stockées par le dictionnaire.

Paramètres

keyComparer
IComparer<TKey>

Implémentation à utiliser pour déterminer l’égalité des clés dans le dictionnaire.

Retours

Dictionnaire trié immuable vide.

S’applique à

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

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

Crée un dictionnaire trié immuable vide qui utilise les comparateurs de clé et de valeur spécifiés.

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)

Paramètres de type

TKey

Type des clés stockées par le dictionnaire.

TValue

Type des valeurs stockées par le dictionnaire.

Paramètres

keyComparer
IComparer<TKey>

Implémentation à utiliser pour déterminer l’égalité des clés dans le dictionnaire.

valueComparer
IEqualityComparer<TValue>

Implémentation à utiliser pour déterminer l’égalité des valeurs dans le dictionnaire.

Retours

Dictionnaire trié immuable vide.

S’applique à