DictionaryTKey, TValueRemove Method |
Namespace: System.Collections.GenericAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public bool Remove(
TKey key
)
Parameters
- key
- Type: TKey
The key of the element to remove.
Return Value
Type:
Booleantrue if the element is successfully found and removed; otherwise, false. This method returns false if
key is not found in the
DictionaryTKey, TValue.
Exceptions See Also