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)

Syntax

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

Parameters

key

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.
values

Type: System.Object []

An array of items to add into the dictionary.

Remarks

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

Reference