---
title: "IImageList..::.ContainsKey Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IImageList_ContainsKey_1_d02429b3.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.ContainsKey Method 
 
Determines whether the list contains a specific key.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Function ContainsKey ( _key As Object _
) As Boolean
```
 
```csharp
                bool ContainsKey(Object key
)
```
 
### Parameters
 
 - key
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
The key to locate in the list.
 
### Return Value
 **true** if the list contains an image with the specified key; otherwise, **false**.
   
## See Also

### Reference

- [IImageList Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IImageList.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
