Adds an element with the provided key and value to the XmpDictionaryNode object.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public virtual void Add( Object key, Object value )
Type: System.Object
The Object to use as the key of the element to add.Type: System.Object
The Object to use as the value of the element to add.You can also use the Item[Object] property to add new elements by setting the value of a key that does not exist in the dictionary. However, if the specified key already exists in the dictionary, setting the Item[Object] property overwrites the old value. In contrast, the XmpDictionaryNode method throws an exeption if an element with the same key already exists in the dictionary.