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: 30.0.10915.3380 (30.0.10915.3380)
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. |
NotSupportedException | The IDictionaryTKey, TValue is read-only. |
Version Information
See Also