Share via


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

Definizione

Restituisce un enumeratore che può essere usato per eseguire l'iterazione nella tabella 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

Restituisce

IEnumerator<KeyValuePair<TKey,TValue>>

Enumeratore che può essere usato per eseguire l'iterazione nella tabella ConditionalWeakTable<TKey,TValue>.

Implementazioni

Commenti

L'enumeratore restituito non estende la durata di qualsiasi coppia di oggetti nella tabella, diversa da quella corrente. Non restituisce voci già raccolte o aggiunte dopo il recupero dell'enumeratore. Inoltre, potrebbe non restituire tutte le voci presenti quando l'enumeratore è stato recuperato, ad esempio, voci raccolte o rimosse dopo che l'enumeratore è stato recuperato, ma prima di essere enumerati.

Si applica a