This documentation is for the old version. Go to the latest Graphics Mill docs

MetadataDictionary.Add Method (Object, Object)

Adds one item at the specified key.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


Visual Basic
Public Overridable Sub Add ( _
	key As Object, _
	value As Object _
public virtual void Add(
	Object key,
	Object value



Type: System.Object

Key of the object to add. Typically it is a number that represents an EXIF or IPTC tag. Most used tags are available as static members of ExifDictionary and IptcDictionary.

Type: System.Object

An item to add into the dictionary.


If item (or several items) are already stored at specified key, this method fails. To check whether the item with such key exists, use Contains(Object) method.

An alternative way to add new entries into the dictionary is to use Item[Object] method. Unlike Add(Object, Object) method, if the key is found in the dictionary, new item overwrites the old value.

See Also