Add(TKey, TValue)
Adds a new key-value pair.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
Add(T, T)
public void Add(TKey key, TValue item)
Parameters
Remarks
If the key is already present, this method throws without modifying the hash map.