ConcurrentDictionary<TKey,TValue>.ToArray Metoda

Definice

Zkopíruje páry klíč a hodnota uložené v do ConcurrentDictionary<TKey,TValue> nového pole.

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)()

Návraty

KeyValuePair<TKey,TValue>[]

Nové pole obsahující snímek párů klíč a hodnota zkopírované z ConcurrentDictionary<TKey,TValue>.

Platí pro

Viz také