Click or drag to resize
OrderedDictionaryTKey, TValueRemove Method
Overload List
  NameDescription
Public methodRemove(KeyValuePairTKey, 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.
(Inherited from DictionaryBaseTKey, TValue.)
Public methodRemove(TKey)
Removes the key (and associated value) from the collection that is equal to the passed in key. If no key in the dictionary is equal to the passed key, false is returned and the dictionary is unchanged.
(Overrides DictionaryBaseTKey, TValueRemove(TKey).)
Top
See Also