---
title: "XmpDictionaryNode.Contains Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpDictionaryNode_Contains_1_d02429b3.htm
product: "Graphics Mill"
---

# XmpDictionaryNode.Contains Method 
 
Determines whether the [XmpDictionaryNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpDictionaryNode.htm.md) object 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 [XmpDictionaryNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpDictionaryNode.htm.md) object.
 
### Return Value
 `true` if the [XmpDictionaryNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpDictionaryNode.htm.md) contains an element with the key; otherwise, `false`.
   
## See Also

### Reference

- [XmpDictionaryNode Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpDictionaryNode.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
