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

MetadataDictionary.GetItemArray Method

Gets all items with the specified key.

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


Visual Basic
Public Function GetItemArray ( _
	key As Object _
) As Object()
public Object[] GetItemArray(
	Object key



Type: System.Object

Key of the objects to get. Typically it is a number that represents an EXIF or IPTC tag. Most used tags are available as static members of ExifDictionary and IptcDictionary.

Return Value

An array of returned items.


The essential difference from Item[Object] property is that this method returns an array, even if only one item is stored at this key. In contrast, property Item[Object] returns the item itself, and if several items 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