ConcurrentDictionary<TKey,TValue>.ToArray Méthode
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.
Copie les paires clé et valeur stockées dans un ConcurrentDictionary<TKey,TValue> nouveau tableau.
public:
cli::array <System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ ToArray();
public System.Collections.Generic.KeyValuePair<TKey,TValue>[] ToArray();
member this.ToArray : unit -> System.Collections.Generic.KeyValuePair<'Key, 'Value>[]
Public Function ToArray () As KeyValuePair(Of TKey, TValue)()
Retours
Nouveau tableau contenant un instantané des paires clé et valeur copiées à partir du ConcurrentDictionary<TKey,TValue>.