Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Removes all occurrences of a particular key-value pair.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

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

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

The multi hash map.

key

T
The key of the key-value pairs to remove.

value

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).