MetadataDictionary.GetItemArray Method

Returns an array of elements with the specified key.

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

Syntax

C#
public Object[] GetItemArray(
	Object key
)

Parameters

key

Type: System.Object

Key of elements to get. Typically it is a number that represents an EXIF/IPTC tag or Adobe resource block ID.

Return Value

An array of elements with a given key.

Remarks

The essential difference from Item[Object] property is that this method returns an array, even if only one element is stored at this key. In contrast, property Item[Object] returns the element itself, and if several elements are available at the specified key, it returns the first one.

Therefore it is preferrable to use this method instead of Item[Object]. However if you do not care about handling all values, you still can use Item[Object] since it has simpler syntax.

See Also

Reference