기술 자료

Unity Engine

Unity Engine

NativeHashMap<TKey, TValue>.Enumerator

An enumerator over the key-value pairs of a container.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

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.