DictionaryBaseTKey, TValueRemove Method |
Removes the element with the specified key from the IDictionaryTKey, TValue.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.11.20
Syntax public bool Remove(
TKey key
)
Public Function Remove (
key As TKey
) As Boolean
Parameters
- key TKey
- The key of the element to remove.
Return Value
Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original
IDictionaryTKey, TValue.
Implements
IDictionaryTKey, TValueRemove(TKey)Exceptions Exception | Condition |
---|
ArgumentNullException | key is null. |
NotSupportedException | The IDictionaryTKey, TValue is read-only. |
See Also