AtalaObservableDictionaryTKey, TValueAdd Method (TKey, TValue) |
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Add(
TKey key,
TValue value
)
Public Sub Add (
key As TKey,
value As TValue
)
Parameters
- key
- Type: TKey
The object to use as the key of the element to add. - value
- Type: TValue
The object to use as the value of the element to add.
Implements
IDictionaryTKey, TValueAdd(TKey, TValue)Exceptions Exception | Condition |
---|
ArgumentNullException | key is null. |
ArgumentException | An element with the same key already exists in the IDictionaryTKey, TValue. |
NotSupportedException | The IDictionaryTKey, TValue is read-only. |
See Also