public struct Dictionary<TKey,TValue>.KeyCollection.Enumerator: IEnumerator<TKey>, IDisposable, IEnumerator
Object
ValueType
Dictionary<TKey,TValue>.KeyCollection.EnumeratorThis type implements IDisposable, IEnumerator, and System.Collections.Generic.IEnumerator<TKey>.
mscorlib
BCL
Enumerates the elements of a key collection.
If the underlying dictionary is modified, or the value of any key in that dictionary is modified, the behavior of the enumerator is unspecified.For information on the behavior of enumerators, see the Description section of IEnumerator<T>.
Default implementations of collections in System.Collections.Generic are not synchronized.
System.Collections.Generic Namespace
Dictionary<TKey,TValue>.KeyCollection.Enumerator Methods
Dictionary<TKey,TValue>.KeyCollection.Enumerator.Dispose Method
Dictionary<TKey,TValue>.KeyCollection.Enumerator.MoveNext Method
Dictionary<TKey,TValue>.KeyCollection.Enumerator.System.Collections.IEnumerator.Reset Method
Dictionary<TKey,TValue>.KeyCollection.Enumerator Properties
Dictionary<TKey,TValue>.KeyCollection.Enumerator.Current Property
Dictionary<TKey,TValue>.KeyCollection.Enumerator.System.Collections.IEnumerator.Current Property
public void Dispose()
This method is implemented to support the IDisposable interface.
System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.Enumerator Structure, System.Collections.Generic Namespace
public bool MoveNext()
This method is implemented to support the IEnumerator and IEnumerator<T> interfaces.
System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.Enumerator Structure, System.Collections.Generic Namespace
void IEnumerator.Reset()
This method is implemented to support the IEnumerator interface.
System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.Enumerator Structure, System.Collections.Generic Namespace
public TKey Current { get; }
This read-only property is implemented to support the IEnumerator<T> interface.
System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.Enumerator Structure, System.Collections.Generic Namespace
object IEnumerator.Current { get; }
This read-only property is implemented to support the IEnumerator interface.
System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.Enumerator Structure, System.Collections.Generic Namespace