When implemented by a class, adds an element with the provided key and value to the IDictionary.
Namespace: Quartz.Util
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual void Add( TKey key, TValue value )
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 . |
ArgumentException | An element with the same key already exists in the IDictionary. |
NotSupportedException | The IDictionary is read-only. -or- The IDictionary has a fixed size. |
See Also