Removes the element with the specified key.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

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

Parameters

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

Return Value

true if the element was removed from the collection; otherwise false. The method returns false if the item was not present in the collection.

Implements

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

Remarks

Unlike a normal dictionary, this is an O(n) operation.

See Also