RemoveAsync Method
RemoveAsync(TKey, TValue)
Removes the given key value pair from the multi-map.
Declaration
Task<bool> RemoveAsync(TKey key, TValue value)
Parameters
TKey | key | the key of the entry to remove |
TValue | value | the value of the entry to remove |
Returns
Task<bool> | true if the size of the multi-map changed after the remove operation, false otherwise. |
RemoveAsync(TKey)
Removes all the entries with the given key.
Declaration
Task<IReadOnlyCollection<TValue>> RemoveAsync(TKey key)
Parameters
TKey | key | the key of the entries to remove |
Returns
Task<IReadOnlyCollection<TValue>> | the collection of removed values associated with the given key |