Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

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

Removes a given value from the values associated with a key. If the last value is removed from a key, the key is removed also.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public bool Remove(
	TKey key,
	TValue value
)
Public Function Remove ( _
	key As TKey, _
	value As TValue _
) As Boolean
public:
bool^ Remove(
	TKey key, 
	TValue value
)

Parameters

key
Type: TKey
A key to remove a value from.
value
Type: TValue
The value to remove.

Return Value

True if value was associated with key (and was therefore removed). False if value was not associated with key.