---
title: "IImageList..::.IndexOfKey Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_IImageList_IndexOfKey.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/)

# IImageList.IndexOfKey Method 
 
Returns a zero-based index of the specified key in the list.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [IndexOfKey(Object)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IImageList_IndexOfKey_1_d02429b3.htm.md) |  Returns a zero-based index of the specified key in the list. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [IndexOfKey(Object, Boolean)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IImageList_IndexOfKey_2_736abc12.htm.md) |  Returns a zero-based index of the specified key in the list. |
   
## See Also

### Reference

- [IImageList Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IImageList.htm.md)
- [IImageList Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_IImageList.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
