Bagikan melalui


ReadOnlyDictionary<TKey,TValue>.GetEnumerator Metode

Definisi

Mengembalikan enumerator yang melakukan iterasi melalui 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))

Mengembalikan

IEnumerator<KeyValuePair<TKey,TValue>>

Enumerator yang dapat digunakan untuk melakukan iterasi melalui koleksi.

Penerapan

Berlaku untuk