---
title: "XmpData.AddNode Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpData_AddNode_1_79cf5b78.htm
product: "Graphics Mill"
---

# XmpData.AddNode Method 
 
Adds a node to the XMP tree.
 
**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 void AddNode(XmpNode node
)
```
 
### Parameters
 
 - node
     - Type: [Aurigma.GraphicsMill.Codecs.XmpNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpNode.htm.md)
A [XmpNode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpNode.htm.md) descendant.
 
## Remarks
  
This method is more convenient than the [Add(Object, Object)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpData_Add_2_df764941.htm.md) method.
   
## See Also

### Reference

- [XmpData Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
