Removes the value with the specified key from the Dictionary<(Of <(<'TKey, TValue>)>)>.

Namespace: System.Collections.ObjectModel
Assembly: Elysium (in Elysium.dll) Version: 2.0.976.4 (2.0.976.4)

Syntax

C#
public bool Remove(
	TKey key
)
Visual Basic
Public Function Remove ( 
	key As TKey
) As Boolean

Parameters

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

Return Value

Type: Boolean
true if the element is successfully found and removed; otherwise, false. This method returns false if key is not found in the Dictionary<(Of <(<'TKey, TValue>)>)>.

Implements

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

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionkey is null.

See Also