---
title: "XmpArrayNode.Add Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpArrayNode_Add_1_d02429b3.htm
product: "Graphics Mill"
---

# XmpArrayNode.Add Method 
 
Adds an item to the [XmpArrayNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md).
 
**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 int Add(Object node
)
```
 
### Parameters
 
 - node
     - Type: System.Object
The object to add to the [XmpArrayNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md).
 
### Return Value
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the array.
 
### Implements
 
IList.Add(Object)
   
## See Also

### Reference

- [XmpArrayNode Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
