ConcurrentDictionary<TKey,TValue>.ToArray Método

Definição

Copia os pares de chave e valor armazenados ConcurrentDictionary<TKey,TValue> no para um novo 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)()

Devoluções

KeyValuePair<TKey,TValue>[]

Um novo array contendo um instantâneo dos pares chave e valor copiados do ConcurrentDictionary<TKey,TValue>.

Aplica-se a

Ver também