ConcurrentDictionary<TKey,TValue>.GetEnumerator 메서드

정의

ConcurrentDictionary<TKey,TValue>를 반복하는 열거자를 반환합니다.

public:
 virtual System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<'Key, 'Value>>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<'Key, 'Value>>
Public Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of TKey, TValue))
Public Iterator Overridable NotOverridable Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of TKey, TValue))

반환

IEnumerator<KeyValuePair<TKey,TValue>>

ConcurrentDictionary<TKey,TValue>에 대한 열거자입니다.

구현

설명

사전에서 반환된 열거자는 사전에 대한 읽기 및 쓰기와 동시에 사용할 수 있지만 사전의 특정 시간 스냅샷 나타내지는 않습니다. 열거자를 통해 노출되는 내용에는 가 호출된 후 GetEnumerator 사전을 수정한 내용이 포함될 수 있습니다.

적용 대상

추가 정보