XmpLocalizedTextNode.Add Method

Adds an element with the provided key and value to the XmpLocalizedTextNode object.

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

Syntax

C#
public override sealed void Add(
	Object key,
	Object value
)

Parameters

key

Type: System.Object

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

Type: System.Object

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

Remarks

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 XmpLocalizedTextNode method throws an exeption if an element with the same key already exists in the dictionary.

See Also

Reference