Method Remove
Remove(TKey)
Removes a key and its associated value(s).
Declaration
public int Remove(TKey key)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | The key to remove. |
Returns
| Type | Description |
|---|---|
| int | The number of removed key-value pairs. If the key was not present, returns 0. |
Remove(NativeParallelMultiHashMapIterator<TKey>)
Removes a single key-value pair.
Declaration
public void Remove(NativeParallelMultiHashMapIterator<TKey> it)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeParallelMultiHashMapIterator<TKey> | it | An iterator representing the key-value pair to remove. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if the iterator is invalid. |