---
title: "Collection&lt;(Of &lt;(T&gt;)&gt;)..::.Move Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection%601_Move_2_22dcb54d.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;.Move Method 
 
Moves an item from one position to another.
 
**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 Function Move ( _oldIndex As Integer, _newIndex As Integer _
) As T
```
 
```csharp
public virtual T Move(int oldIndex,int newIndex
)
```
 
### Parameters
 
 - oldIndex
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The zero-based index of the item to move.

 - newIndex
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The zero-based index to move the item to.
 
### Return Value
 
The item that was moved.
   
## 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)
