Method AddAll
AddAll<U, W>(Collections.Generic.IEnumerable<KeyValuePair<U, W>>)
Add the entries from a collection of C5.KeyValuePair`2 pairs to this dictionary.
Declaration
void AddAll<U, W>(Collections.Generic.IEnumerable<KeyValuePair<U, W>> entries)
where U : K where W : V
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<KeyValuePair<U, W>> | entries |
Type Parameters
Name | Description |
---|---|
U | |
W |
Exceptions
Type | Condition |
---|---|
DuplicateNotAllowedException | If the input contains duplicate keys or a key already present in this dictionary. |