|
ImmutableDictionaryTKey, TValueRemove(TKey) Method
|
Removes the element with the specified key from the IDictionaryTKey, TValue.
Namespace: GSF.ImmutableAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic bool Remove(
TKey key
)
Public Function Remove (
key As TKey
) As Boolean
public:
virtual bool Remove(
TKey key
) sealed
abstract Remove :
key : 'TKey -> bool
override Remove :
key : 'TKey -> bool
View SourceParameters
- key TKey
- The key of the element to remove.
Return Value
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)
ExceptionsException | Condition |
---|
ArgumentNullException | key is null. |
NotSupportedException | The IDictionaryTKey, TValue is read-only. |
See Also