ConcurrentDictionary<TKey,TValue>.ToArray ConcurrentDictionary<TKey,TValue>.ToArray ConcurrentDictionary<TKey,TValue>.ToArray ConcurrentDictionary<TKey,TValue>.ToArray Method

Définition

Copie les paires clé/valeur stockées dans le ConcurrentDictionary<TKey,TValue> dans un nouveau tableau.Copies the key and value pairs stored in the ConcurrentDictionary<TKey,TValue> to a new array.

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

KeyValuePair<TKey,TValue>[]

Nouveau tableau qui contient un instantané des paires clé/valeur copiées à partir de ConcurrentDictionary<TKey,TValue>.A new array containing a snapshot of key and value pairs copied from the ConcurrentDictionary<TKey,TValue>.

S’applique à

Voir aussi