IDictionary.Remove Method

Task Parallel System.Threading

Removes the element with the specified key from the IDictionary.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Private Sub Remove ( _
	key As Object _
) Implements IDictionary.Remove
C#
void IDictionary.Remove(
	Object key
)

Parameters

key
Type: System..::.Object
The key of the element to remove.

Implements

IDictionary..::.Remove(Object)

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionkey is a null reference (Nothing in Visual Basic).

See Also