MultiValueDictionary<(Of <(<'TKey, TValue>)>)>..::..Remove Method (KeyValuePair<(Of <(<'TKey, TValue>)>)>)

Removes the first occurrence of a specific object from the dictionary.

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public bool Remove(
	KeyValuePair<TKey, TValue> item
)
Public Function Remove ( _
	item As KeyValuePair(Of TKey, TValue) _
) As Boolean

Parameters

item
Type: KeyValuePair<(Of <(<'TKey, TValue>)>)>
The object to remove from the dictionary.

Return Value

true if item was successfully removed from the dictionary; otherwise, false. This method also returns false if item is not found in the original dictionary.