ImmutableDictionary<TKey,TValue>.Enumerator.Reset 方法

定義

設定列舉程式至它的初始位置,這是在字典中第一個元素之前。Sets the enumerator to its initial position, which is before the first element in the dictionary.

public:
 virtual void Reset();
public void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Sub Reset ()

實作

例外狀況

建立列舉值之後,字典已修改。The dictionary was modified after the enumerator was created.

適用於