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>에서 복사된 키/값 쌍의 스냅샷을 포함하는 새 배열입니다.

적용 대상

추가 정보