---
title: "LayerCollection Members"
canonical: https://www.graphicsmill.com/docs/gm5/AllMembers_T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection.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/)

# LayerCollection Members
 
The [LayerCollection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [add](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_add.htm.md) |  Adds the specified item to the end of the collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [clear](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection_clear.htm.md) |  Removes all layers from the collection. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [contains](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_contains.htm.md) |  Determines whether the specified item is in the collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [getLayersByName](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection_getLayersByName.htm.md) |  Search layers with the specified name. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [getVObjectsByName](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection_getVObjectsByName.htm.md) |  Search v-objects with the specified name. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [indexOf](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_indexOf.htm.md) |  Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [insert](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection_insert.htm.md) |  Inserts a layer into the collection at the specified index. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [move](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection_move.htm.md) |  Moves a layer from one position to another. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [push](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_push.htm.md) |  Pushes the specified item to the collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [removeAt](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection_removeAt.htm.md) |  Removes the layer at the specified index of the collection. |
 
## Properties

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [count](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_count.htm.md) |  Gets the number of items actually contained in the collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [item](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_item.htm.md) |  Gets the item at the specified index.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 
## Events

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [itemAdded](https://www.graphicsmill.com/docs/gm5/E_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_itemAdded.htm.md) |  Fires when the an item is added to the collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [itemMoved](https://www.graphicsmill.com/docs/gm5/E_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_itemMoved.htm.md) |  Fires when the an item is moved from one position to another.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [itemRemoved](https://www.graphicsmill.com/docs/gm5/E_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection_itemRemoved.htm.md) |  Fires when the an item is removed from the collection.<br> (Inherited from [Collection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Collection.htm.md).) |
   
## See Also

### Reference

- [LayerCollection Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
