Jazyk

ConcurrentDictionary<TKey,TValue>.ToArray Metoda

Definice

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

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 hodnot zkopírovaných z objektu ConcurrentDictionary<TKey,TValue>.

Platí pro

Viz také