IMap<TKey,TValue>.RemoveRange Method
Overloads
| RemoveRange(array of TKey) |
Removes the elements with the specified keys from the collection. |
| RemoveRange(IEnumerable<TKey>) |
Removes the elements with the specified keys from the collection. |
Removes the elements with the specified keys from the collection.
Delphi
function RemoveRange(const keys: array of TKey): Integer
Parameters
- keys
- array of TKey
The keys of the elements to remove.
Returns
Integer
The number of elements that were actually removed.
Removes the elements with the specified keys from the collection.
Delphi
function RemoveRange(const keys: IEnumerable<TKey>): Integer
Parameters
- keys
- IEnumerable<TKey>
The keys of the elements to remove.
Returns
Integer
The number of elements that were actually removed.
Exceptions
keys is nil .