FrozenDictionary<TKey,TValue>.Enumerator 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉 FrozenDictionary<TKey,TValue> 的項目。
public: value class FrozenDictionary<TKey, TValue>::Enumerator : System::Collections::Generic::IEnumerator<System::Collections::Generic::KeyValuePair<TKey, TValue>>
C#
public struct FrozenDictionary<TKey,TValue>.Enumerator : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey,TValue>>
type FrozenDictionary<'Key, 'Value>.Enumerator = struct
interface IEnumerator<KeyValuePair<'Key, 'Value>>
interface IEnumerator
interface IDisposable
Public Structure FrozenDictionary(Of TKey, TValue).Enumerator
Implements IEnumerator(Of KeyValuePair(Of TKey, TValue))
- TKey
- TValue
- 繼承
- 實作
Current |
取得集合中位於列舉值目前位置的元素。 |
Move |
將列舉值往前推至下集合中的下一個項目。 |
IDisposable. |
執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 |
IEnumerator. |
取得集合中位於列舉值目前位置的元素。 |
IEnumerator. |
設定列舉值至它的初始位置,這是在集合中第一個項目之前。 |
產品 | 版本 |
---|---|
.NET | 8, 9 |