MetadataDictionary.Add Method (Object, Object)

Adds an element with the provided key and value to this dictionary.

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

Syntax

C#
public virtual void Add(
	Object key,
	Object value
)

Parameters

key

Type: System.Object

The Object to use as the key of the element to add. Typically it is a number that represents an EXIF/IPTC tag or Adobe resource block ID.
value

Type: System.Object

The Object to use as the value of the element to add.

Implements

IDictionary.Add(Object, Object)

Remarks

To check whether the element with such key exists, use Contains(Object) method.

An alternative way to add new elements into the dictionary is to use Item[Object] property.

See Also

Reference