---
title: "XmpData..::.Contains Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Contains_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/)

# XmpData.Contains Method 
 
Determines whether a node is in the tree.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Function Contains ( _name As Object _
) As Boolean
```
 
```csharp
public bool Contains(Object name
)
```
 
### Parameters
 
 - name
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
Node to locate in the tree. The node to locate can be a null reference (**Nothing** in Visual Basic).
 
### Return Value
 **true** if value is found in the tree; otherwise, **false**.
   
## See Also

### Reference

- [XmpData Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
