# NativeParallelMultiHashMap<TKey, TValue>.Enumerator

> An enumerator over the values of an individual key in a multi hash map.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule
* **Implements:** [IEnumerator\<T>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1), [IEnumerator](https://learn.microsoft.com/dotnet/api/system.collections.ienumerator), [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public struct NativeParallelMultiHashMap<TKey, TValue>.Enumerator : IEnumerator<TValue>, IEnumerator, IDisposable
```

## Remarks

In an enumerator's initial state, [NativeParallelMultiHashMap\<TKey, TValue>.Enumerator.Current](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/current.md) is not valid to read. The first [NativeParallelMultiHashMap\<TKey, TValue>.Enumerator.MoveNext](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/movenext.md) call advances the enumerator to the first value of the key.

## Properties

| Property                                                                                                       | Description        |
| -------------------------------------------------------------------------------------------------------------- | ------------------ |
| [Current](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/current.md) | The current value. |

## Methods

| Method                                                                                                                     | Description                                           |
| -------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [Dispose](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/dispose.md)             | Does nothing.                                         |
| [GetEnumerator](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/getenumerator.md) | Returns this enumerator.                              |
| [MoveNext](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/movenext.md)           | Advances the enumerator to the next value of the key. |
| [Reset](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator/reset.md)                 | Resets the enumerator to its initial state.           |
