---
title: "MetadataDictionary.Contains Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataDictionary_Contains_1_d02429b3.htm
product: "Graphics Mill"
---

# MetadataDictionary.Contains Method 
 
Determines whether this dictionary contains an element with the specified key.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public virtual bool Contains(Object key
)
```
 
### Parameters
 
 - key
     - Type: System.Object
The key to locate in the dictionary. Typically it is a number that represents an EXIF/IPTC tag or Adobe resource block ID.
 
### Return Value
 `true` if the dictionary contains an element with the key; otherwise, `false`.
 
### Implements
 
IDictionary.Contains(Object)
   
## See Also

### Reference

- [MetadataDictionary Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MetadataDictionary.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
