---
title: "XmpArrayNode.Insert Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpArrayNode_Insert_2_97036b8a.htm
product: "Graphics Mill"
---

# XmpArrayNode.Insert Method 
 
Inserts an item to the [XmpArrayNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md) at the specified index.
 
**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 Insert(int index,Object node
)
```
 
### Parameters
 
 - index
     - Type: System.Int32
The zero-based index at which value should be inserted.

 - node
     - Type: System.Object
The object to insert into the [XmpArrayNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md).
 
### Implements
 
IList.Insert(Int32, Object)
 
## Remarks
 If *index* equals the number of items in the [XmpArrayNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md), then *value* is appended to the end.
   
## 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)
