DictionaryBase<(Of <(<'TKey, TValue>)>)>..::..Remove Method (KeyValuePair<(Of <(<'TKey, TValue>)>)>)
Determines if a dictionary contains a given KeyValuePair, and if so, removes it. This implementation checks to see if the
dictionary contains the given key, and if the value associated with the key is equal to (via object.Equals)
the value. If so, the key-value pair is removed.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public bool Remove( KeyValuePair<TKey, TValue> item )
Public Function Remove ( _ item As KeyValuePair(Of TKey, TValue) _ ) As Boolean
public: bool^ Remove( KeyValuePair<TKey, TValue>^ item )
Parameters
- item
- Type: KeyValuePair<(Of <(<'TKey, TValue>)>)>
A KeyValuePair containing the Key and Value to check for.