# Remove<TKey, TValue>(NativeParallelMultiHashMap<TKey, TValue>, TKey, TValue)

> Removes all occurrences of a particular key-value pair.

## Definition

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

## Remove\<T, U>(NativeParallelMultiHashMap\<T, T>, T, T)

```csharp
public static void Remove<TKey, TValue>(this NativeParallelMultiHashMap<TKey, TValue> container, TKey key, TValue value) where TKey : unmanaged, IEquatable<TKey> where TValue : unmanaged, IEquatable<TValue>
```

### Parameters

**** (\[NativeParallelMultiHashMap\<T, T>]\(/engine/6000.7/script-reference/unity/collections/nativeparallelmultihashmap2)): The multi hash map.**** (T): The key of the key-value pairs to remove.**** (T): The value of the key-value pairs to remove.

### Remarks

Removes all key-value pairs which have a particular key and which "also have" a particular value. In other words: (key "AND" value) rather than (key "OR" value).
