OrderedDictionaryTKey, TValueAdd Method |
Name | Description | |
---|---|---|
![]() | Add(KeyValuePairTKey, TValue) |
Adds a key-value pair to the collection. This implementation calls the Add method
with the Key and Value from the item.
(Inherited from DictionaryBaseTKey, TValue.) |
![]() | Add(TKey, TValue) |
Adds a new key and value to the dictionary. If the dictionary already contains
a key equal to the passed key, then an ArgumentException is thrown
(Overrides DictionaryBaseTKey, TValueAdd(TKey, TValue).) |