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

Definice

Vrátí enumerátor, který lze použít k iteraci v tabulce 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

Návraty

IEnumerator<KeyValuePair<TKey,TValue>>

Enumerátor, který lze použít k iteraci v tabulce ConditionalWeakTable<TKey,TValue> .

Implementuje

Poznámky

Vrácený enumerátor neprodlužuje životnost žádné dvojice objektů v tabulce kromě aktuální. Nevrací položky, které již byly shromážděny nebo které byly přidány po načtení enumerátoru. Kromě toho nemusí vrátit všechny položky, které byly přítomny při načtení enumerátoru, například položky, které byly shromážděny nebo odebrány po načtení enumerátoru, ale před jejich výčtem.

Platí pro