---
title: "History..::.addVObjectRemoved Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History_addVObjectRemoved.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/)

# History.addVObjectRemoved Method 
 
Adds the [VObjectRemovedCommand](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_VObjectRemovedCommand.htm.md) command to the history.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function addVObjectRemoved(vObject, vObjectIndex, layerIndex);
```
 
### Parameters
 
 - vObject
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObject.htm.md)
The v-object that was removed.

 - vObjectIndex
     - Type: Global.Number
An index of this v-object.

 - layerIndex
     - Type: Global.Number
An index of the layer this v-object belongs to.
 
## Remarks
  
This method corresponds to [History.AddVObjectRemoved(VObject, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History_AddVObjectRemoved_3_5d248e0e.htm.md) server-side member.
   
## See Also

### Reference

- [History Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo.htm.md)
