AtalaObservableDictionaryTKey, TValueRemove Method (TKey) |
Removes the element with the specified key from the IDictionaryTKey, TValue.
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public bool Remove(
TKey key
)
Public Function Remove (
key As TKey
) As Boolean
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. |
See Also