OrderedDictionary<TKey,TValue> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
OrderedDictionary<TKey,TValue>()
public:
OrderedDictionary();
public OrderedDictionary ();
Public Sub New ()
S’applique à
OrderedDictionary<TKey,TValue>(IDictionary<TKey,TValue>)
public:
OrderedDictionary(System::Collections::Generic::IDictionary<TKey, TValue> ^ dictionary);
public OrderedDictionary (System.Collections.Generic.IDictionary<TKey,TValue> dictionary);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : System.Collections.Generic.IDictionary<'Key, 'Value> -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (dictionary As IDictionary(Of TKey, TValue))
Paramètres
- dictionary
- IDictionary<TKey,TValue>
S’applique à
OrderedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)
public:
OrderedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ collection);
public OrderedDictionary (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> collection);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (collection As IEnumerable(Of KeyValuePair(Of TKey, TValue)))
Paramètres
- collection
- IEnumerable<KeyValuePair<TKey,TValue>>
S’applique à
OrderedDictionary<TKey,TValue>(IEqualityComparer<TKey>)
public:
OrderedDictionary(System::Collections::Generic::IEqualityComparer<TKey> ^ comparer);
public OrderedDictionary (System.Collections.Generic.IEqualityComparer<TKey>? comparer);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : System.Collections.Generic.IEqualityComparer<'Key> -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (comparer As IEqualityComparer(Of TKey))
Paramètres
- comparer
- IEqualityComparer<TKey>
S’applique à
OrderedDictionary<TKey,TValue>(Int32)
public:
OrderedDictionary(int capacity);
public OrderedDictionary (int capacity);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : int -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (capacity As Integer)
Paramètres
- capacity
- Int32
S’applique à
OrderedDictionary<TKey,TValue>(IDictionary<TKey,TValue>, IEqualityComparer<TKey>)
public:
OrderedDictionary(System::Collections::Generic::IDictionary<TKey, TValue> ^ dictionary, System::Collections::Generic::IEqualityComparer<TKey> ^ comparer);
public OrderedDictionary (System.Collections.Generic.IDictionary<TKey,TValue> dictionary, System.Collections.Generic.IEqualityComparer<TKey>? comparer);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : System.Collections.Generic.IDictionary<'Key, 'Value> * System.Collections.Generic.IEqualityComparer<'Key> -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (dictionary As IDictionary(Of TKey, TValue), comparer As IEqualityComparer(Of TKey))
Paramètres
- dictionary
- IDictionary<TKey,TValue>
- comparer
- IEqualityComparer<TKey>
S’applique à
OrderedDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IEqualityComparer<TKey>)
public:
OrderedDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ collection, System::Collections::Generic::IEqualityComparer<TKey> ^ comparer);
public OrderedDictionary (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> collection, System.Collections.Generic.IEqualityComparer<TKey>? comparer);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> * System.Collections.Generic.IEqualityComparer<'Key> -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (collection As IEnumerable(Of KeyValuePair(Of TKey, TValue)), comparer As IEqualityComparer(Of TKey))
Paramètres
- collection
- IEnumerable<KeyValuePair<TKey,TValue>>
- comparer
- IEqualityComparer<TKey>
S’applique à
OrderedDictionary<TKey,TValue>(Int32, IEqualityComparer<TKey>)
public:
OrderedDictionary(int capacity, System::Collections::Generic::IEqualityComparer<TKey> ^ comparer);
public OrderedDictionary (int capacity, System.Collections.Generic.IEqualityComparer<TKey>? comparer);
new System.Collections.Generic.OrderedDictionary<'Key, 'Value> : int * System.Collections.Generic.IEqualityComparer<'Key> -> System.Collections.Generic.OrderedDictionary<'Key, 'Value>
Public Sub New (capacity As Integer, comparer As IEqualityComparer(Of TKey))
Paramètres
- capacity
- Int32
- comparer
- IEqualityComparer<TKey>
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour