---
title: "ListItemCollection Methods "
canonical: https://www.graphicsmill.com/docs/gm5/Methods_T_Aurigma_GraphicsMill_WinControls_ListItemCollection.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/)

# ListItemCollection Methods 
 
The [ListItemCollection](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListItemCollection.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/O_T_Aurigma_GraphicsMill_WinControls_ListItemCollection_Add.htm.md) |  Overloaded. <br>Adds an array of list items into the collection. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Clear](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_Clear.htm.md) |  Removes all items from the collection. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Contains](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_Contains_1_674925c8.htm.md) |  Determines whether specified list item object is available in the collection. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [CopyTo](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_CopyTo_2_5390a9df.htm.md) |  Copies list columns into array of [ListColumn](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumn.htm.md) objects. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Equals](http://msdn2.microsoft.com/en-us/bsc2ak47) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [Finalize](http://msdn2.microsoft.com/en-us/4k87zsw7) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetEnumerator](http://msdn2.microsoft.com/en-us/x280baek) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetHashCode](http://msdn2.microsoft.com/en-us/zdee4b3y) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetItemsByState](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_GetItemsByState_3_4ff6e281.htm.md) |  Gets an array of list items which have the specified state (e.g. checked, or selected). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetType](http://msdn2.microsoft.com/en-us/dfwy45w9) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [IndexOf](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_IndexOf_1_674925c8.htm.md) |  Returns an index of the specified item in the collection. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Insert](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_ListItemCollection_Insert.htm.md) |  Overloaded. <br>Inserts items into the collection at the specified index. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [MemberwiseClone](http://msdn2.microsoft.com/en-us/57ctke0a) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnClear](http://msdn2.microsoft.com/en-us/69te8b1k) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnClearComplete](http://msdn2.microsoft.com/en-us/2twk8t0t) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnInsert](http://msdn2.microsoft.com/en-us/h9d6483z) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnInsertComplete](http://msdn2.microsoft.com/en-us/k0xahy38) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnRemove](http://msdn2.microsoft.com/en-us/9k4z3bkz) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnRemoveComplete](http://msdn2.microsoft.com/en-us/w34922x1) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnSet](http://msdn2.microsoft.com/en-us/kxazbfw9) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnSetComplete](http://msdn2.microsoft.com/en-us/z2x8khsk) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnValidate](http://msdn2.microsoft.com/en-us/z7c3t367) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Remove](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_ListItemCollection_Remove.htm.md) |  Overloaded. <br>Removes items from the collection. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [RemoveAt](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_RemoveAt_1_e1836fc4.htm.md) |  Removes a list item of the collection at the specified index. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Swap](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_ListItemCollection_Swap.htm.md) |  Overloaded. <br>Swaps the elements of the list. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToArray](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_ToArray.htm.md) |  Copies all elements of the collection to a new array. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToString](http://msdn2.microsoft.com/en-us/7bxwbwt2) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 
## Explicit Interface Implementations

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IList.Add](http://msdn2.microsoft.com/en-us/bb348854) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IList.Contains](http://msdn2.microsoft.com/en-us/bb494671) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [ICollection.CopyTo](http://msdn2.microsoft.com/en-us/bb292435) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IList.IndexOf](http://msdn2.microsoft.com/en-us/bb154824) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IList.Insert](http://msdn2.microsoft.com/en-us/bb360145) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IList.Remove](http://msdn2.microsoft.com/en-us/bb336284) |  (Inherited from [CollectionBase](http://msdn2.microsoft.com/en-us/7a03ybbb).) |
   
## See Also

### Reference

- [ListItemCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListItemCollection.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
