ConditionalWeakTable<TKey,TValue>.IEnumerable<KeyValuePair<TKey,TValue>>.GetEnumerator 方法

定義

傳回可用來逐一查看 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

傳回

IEnumerator<KeyValuePair<TKey,TValue>>

可用來逐一查看 ConditionalWeakTable<TKey,TValue> 資料表的列舉程式。

實作

備註

傳回的列舉值不會延長數據表中任何物件組的存留期,而不是目前的物件組。 它不會傳回已經收集或已在擷取列舉值之後加入的專案。 此外,它可能不會傳回擷取列舉值時存在的所有專案,例如,在擷取列舉值之後收集或移除的專案,但在列舉之前。

適用於