---
title: "MetadataDictionary.SetItemArray Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataDictionary_SetItemArray_2_65aeff2b.htm
product: "Graphics Mill"
---

# MetadataDictionary.SetItemArray Method 
 
Sets multiple elements at the specified key.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void SetItemArray(Object key,Object[] value
)
```
 
### Parameters
 
 - key
     - Type: System.Object
The Object to use as the key of elements to set. Typically it is a number that represents an EXIF/IPTC tag or Adobe resource block ID.

 - value
     - Type: System.Object[]
An array of values to put into the dictionary at the specified key.
 
## Remarks
  
If item (or several items) are already stored at specified key, this method overwrites it (or them). To check whether the item with such key exists, use [Contains(Object)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataDictionary_Contains_1_d02429b3.htm.md) method.
   
## See Also

### Reference

- [MetadataDictionary Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MetadataDictionary.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
