---
title: "VObjectCollection..::.insert Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObjectCollection_insert.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/)

# VObjectCollection.insert Method 
 
Inserts a v-object into the collection at the specified index.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function insert(index, item);
```
 
### Parameters
 
 - index
     - Type: Global.Number
A zero-based index at which a v-object should be added.

 - item
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObject.htm.md)
A v-object to insert.
 
## Remarks
  
This method corresponds to [VObjectCollection.Insert(Int32, VObject)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObjectCollection_Insert_2_0019d13f.htm.md) server-side member.
   
## See Also

### Reference

- [VObjectCollection Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObjectCollection.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
