Table of Contents

Struct SwiftDictionary<TKey, TValue>.KeyCollection.KeyCollectionEnumerator

Namespace
SwiftCollections
Assembly
SwiftCollections.dll

Enumerates the keys of a SwiftDictionary<TKey, TValue> collection.

public struct SwiftDictionary<TKey, TValue>.KeyCollection.KeyCollectionEnumerator : IEnumerator<TKey>, IEnumerator, IDisposable
Implements
Inherited Members

Remarks

The enumerator provides read-only, forward-only iteration over the keys in the dictionary. The enumerator is invalidated if the dictionary is modified after the enumerator is created. In such cases, calling MoveNext or Reset will throw an InvalidOperationException.

Properties

Current

public TKey Current { get; }

Property Value

TKey

Methods

Dispose()

public void Dispose()

MoveNext()

public bool MoveNext()

Returns

bool

Reset()

public void Reset()