Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator

An enumerator over the key-value pairs of a multi hash map.
Read time 1 minuteLast updated 12 days ago

Definition

public struct NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator : IEnumerator<KeyValue<TKey, TValue>>, IEnumerator, IDisposable

Remarks

A key with "N" values is visited by the enumerator "N" times.
In an enumerator's initial state, NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator.Current is not valid to read. The first NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator.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.