ConditionalWeakTable<TKey,TValue>.IEnumerable<KeyValuePair<TKey,TValue>>.GetEnumerator Metoda

Definicja

Zwraca moduł wyliczający, który może służyć do iterowania przez tabelę ConditionalWeakTable<TKey,TValue> .

 virtual System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator() = System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>>::GetEnumerator;
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>> IEnumerable<KeyValuePair<TKey,TValue>>.GetEnumerator ();
abstract member System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<'Key, 'Value>>
override this.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<'Key, 'Value>>
Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of TKey, TValue)) Implements IEnumerable(Of KeyValuePair(Of TKey, TValue)).GetEnumerator

Zwraca

IEnumerator<KeyValuePair<TKey,TValue>>

Moduł wyliczający, który może służyć do iterowania przez tabelę ConditionalWeakTable<TKey,TValue> .

Implementuje

Uwagi

Zwrócony moduł wyliczający nie wydłuża okresu istnienia żadnych par obiektów w tabeli, innych niż bieżąca. Nie zwraca on wpisów, które zostały już zebrane lub które zostały dodane po pobraniu modułu wyliczającego. Ponadto może nie zwracać wszystkich wpisów, które były obecne podczas pobierania modułu wyliczającego, na przykład wpisy, które zostały zebrane lub usunięte po pobraniu modułu wyliczającego, ale zanim zostały wyliczone.

Dotyczy