---
title: "XmpArrayNode..::.Insert Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpArrayNode_Insert_2_97036b8a.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# XmpArrayNode.Insert Method 
 
Inserts an item to the array at the specified position.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Insert ( _index As Integer, _node As Object _
)
```
 
```csharp
public void Insert(int index,Object node
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Zero-based index at which value should be inserted.

 - node
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
Object to insert.
 
### Implements
 
[IList.Insert(Int32, Object)](http://msdn2.microsoft.com/en-us/zkf4388a)
 
## Remarks
  
If index equals the number of items in the array, then value is appended to the end.
   
## See Also

### Reference

- [XmpArrayNode Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
