ReadOnlyDictionary<TKey,TValue>.GetEnumerator Метод

Определение

Возвращает перечислитель, осуществляющий перебор элементов списка ReadOnlyDictionary<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))

Возвращаемое значение

IEnumerator<KeyValuePair<TKey,TValue>>

Перечислитель, который можно использовать для итерации по коллекции.

Реализации

Применяется к