NativeHashMap<TKey, TValue>.Enumerator
An enumerator over the key-value pairs of a container.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<KVPair<T, T>>, IEnumerator, IDisposable
public struct NativeHashMap<TKey, TValue>.Enumerator : IEnumerator<KVPair<TKey, TValue>>, IEnumerator, IDisposable
Remarks
In an enumerator's initial state, NativeHashMap<TKey, TValue>.Enumerator.Current is not valid to read. From this state, the first NativeHashMap<TKey, TValue>.Enumerator.MoveNext call advances the enumerator to the first key-value pair.
Properties
Property | Description |
|---|---|
| Current | The current key-value pair. |