ConcurrentDictionary<TKey,TValue>.ToArray メソッド

定義

ConcurrentDictionary<TKey,TValue>に格納されているキーと値のペアを新しい配列にコピーします。

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

返品

KeyValuePair<TKey,TValue>[]

ConcurrentDictionary<TKey,TValue>からコピーされたキーと値のペアのスナップショットを含む新しい配列。

適用対象

こちらもご覧ください