Removes the element with the specified key from the Dictionary.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public virtual bool Remove(
	TKey key
)
Visual Basic
Public Overridable Function Remove ( 
	key As TKey
) As Boolean
Visual C++
public:
virtual bool Remove(
	TKey key
)
F#
abstract Remove : 
        key : 'TKey -> bool 
override Remove : 
        key : 'TKey -> bool 

Parameters

key
Type: TKey
The key of the element to remove.

Return Value

Type: Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original Dictionary.

Implements

IDictionary<(Of <(<'TKey, TValue>)>)>..::..Remove(TKey)

See Also