Method Add
Add(KeyValuePair<String, TValue>)
Adds the
Declaration
public virtual void Add(KeyValuePair<string, TValue> item)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.KeyValuePair<System.String, TValue> | item | A |
Implements
System.Collections.Generic.ICollection<T>.Add(T)
Add(String, TValue)
Adds the value
for the passed in key
.
Declaration
public virtual void Add(string key, TValue value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The string-able type to be added/updated in the dictionary. |
TValue | value | The corresponding value for the given |
Implements
System.Collections.Generic.IDictionary<TKey, TValue>.Add(TKey, TValue)