---
title: "VObjectCollection..::.Move Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObjectCollection_Move_2_22dcb54d.htm
archived: true
applies_to:
  - product: "Graphics Mill"
    versions: ["5.5", "3.x-5.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

**You’re viewing outdated documentation.** [View the latest Graphics Mill documentation](https://www.graphicsmill.com/docs/gm/).

# VObjectCollection.Move Method 

**Applies to:** Graphics Mill 5.5, 3.x-5.x (may differ) · **Archived documentation**
 
Moves a v-object 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 Overrides Function Move ( _oldIndex As Integer, _newIndex As Integer _
) As VObject
```
 
```csharp
public override VObject Move(int oldIndex,int newIndex
)
```
 
### Parameters
 
 - oldIndex
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The zero-based index of the v-object to move.

 - newIndex
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The zero-based index to move the v-obejct to.
 
### Return Value
 
The [VObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObject.htm.md) that was moved.
   
## See Also

### Reference

- [VObjectCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObjectCollection.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
