# GetValuesForKey(TKey)

> Returns an enumerator over the values of an individual key.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## GetValuesForKey(T)

```csharp
public NativeParallelMultiHashMap<TKey, TValue>.Enumerator GetValuesForKey(TKey key)
```

### Parameters

**** (T): The key to get an enumerator for.

### Returns

| Type                                                                                                      | Description                             |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| [Enumerator](/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2/enumerator.md) | An enumerator over the values of a key. |
