閱讀英文版本

分享方式:


OrderedDictionary<TKey,TValue>.KeyCollection.Enumerator 結構

定義

C#
public struct OrderedDictionary<TKey,TValue>.KeyCollection.Enumerator : System.Collections.Generic.IEnumerator<TKey>

類型參數

TKey
TValue
繼承
OrderedDictionary<TKey,TValue>.KeyCollection.Enumerator
實作

屬性

Current

取得集合中位於列舉值目前位置的專案。

方法

MoveNext()

將列舉值前進至集合的下一個專案。

明確介面實作

IDisposable.Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

IEnumerator.Current

取得集合中位於列舉值目前位置的專案。

IEnumerator.Reset()

將列舉值設定為其初始位置,也就是集合中第一個專案之前。

適用於

產品 版本
.NET 9, 10