ImmutableDictionary<TKey, TValue>.Enumerator Structure

 

Enumerates the contents of the immutable dictionary without allocating any memory.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public struct Enumerator : IEnumerator<KeyValuePair<TKey, TValue>>, 
	IEnumerator, IDisposable

NameDescription
System_CAPS_pubpropertyCurrent

Gets the element at the current position of the enumerator.

NameDescription
System_CAPS_pubmethodDispose()

Releases the resources used by the current instance of the ImmutableDictionary<TKey, TValue>.Enumerator class.

System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMoveNext()

Advances the enumerator to the next element of the immutable dictionary.

System_CAPS_pubmethodReset()

Sets the enumerator to its initial position, which is before the first element in the dictionary.

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

This type is thread safe.

Return to top
Show: