Removes the element with the specified key from the IDictionaryTKey, TValue.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
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 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. |
Version Information
See Also