| RankedMapTKey, TValueRemove Method (TKey) |
Removes all elements with the supplied key from the map.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax public bool Remove(
TKey key
)
Parameters
- key
- Type: TKey
The key of the elements to remove.
Return Value
Type:
Booleantrue if any elements were removed; otherwise
false.
Exceptions Remarks This is a O(log n) operation.
Examples
The below snippet is part of a larger example of the
RankedMapTKey, TValueclass.
Console.WriteLine ("Remove qt format...");
fmt.Remove ("qt");
See Also