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

MetadataDictionary.Add Method (Object, Object[])

Adds several items at the specified key.

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


Visual Basic
Public Sub Add ( _
	key As Object, _
	values As Object() _
public void Add(
	Object key,
	Object[] values



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 array of items 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 SetItemArray(Object, Object[]) method. Unlike Add(Object, Object[]) method, if the key is found in the dictionary, new items overwrite the old values.

See Also