RankedDictionaryTKey, TValueIDictionaryAdd Method |
Namespace: Kaos.Collections
void IDictionary.Add( Object key, Object value )
| Exception | Condition |
|---|---|
| ArgumentNullException | When key is null. |
| ArgumentException | When an element with the same key already exists in the Dictionary. |
| ArgumentException | When key is not a TKey. |
| ArgumentException | When value is not a TValue. |