OrderedDictionaryTKey, TValueRemove Method |
Name | Description | |
---|---|---|
![]() | Remove(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.) |
![]() | Remove(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).) |