---
title: "Collection&lt;(Of &lt;(T&gt;)&gt;)..::.Insert Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection%601_Insert_2_3db73f36.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/)

# Collection&lt;T&gt;.Insert Method 
 
Inserts an item into the [Collection&lt;T&gt;](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection%601.htm.md) at the specified index.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Overridable Sub Insert ( _index As Integer, _item As T _
)
```
 
```csharp
public virtual void Insert(int index,T item
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The zero-based index at which item should be inserted.

 - item
     - Type: [T](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection%601.htm.md)
The item to insert.
 
### Implements
 
[IList&lt;T&gt;.Insert(Int32, T)](http://msdn2.microsoft.com/en-us/8zsfbxz8)
   
## See Also

### Reference

- [Collection&lt;T&gt; Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection%601.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
