Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnsafeHashMap<TKey, TValue>.Enumerator

An enumerator over the key-value pairs of a container.
Read time 1 minuteLast updated 13 days ago

Definition

public struct UnsafeHashMap<TKey, TValue>.Enumerator : IEnumerator<KVPair<TKey, TValue>>, IEnumerator, IDisposable

Remarks

In an enumerator's initial state, UnsafeHashMap<TKey, TValue>.Enumerator.Current is not valid to read. From this state, the first UnsafeHashMap<TKey, TValue>.Enumerator.MoveNext call advances the enumerator to the first key-value pair.

Properties

Property

Description

CurrentThe current key-value pair.

Methods

Method

Description

DisposeDoes nothing.
MoveNextAdvances the enumerator to the next key-value pair.
ResetResets the enumerator to its initial state.