Removes an item from the Dictionary.

Namespace: System.Extensions.Collections.ObjectModel
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

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

Parameters

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

Return Value

Type: Boolean
True if it was removed, false otherwise.

Implements

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

See Also