---
title: "XmpStructNode Constructor (XmpNamespace, String)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_XmpStructNode_ctor_2_2891d1cd.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/)

# XmpStructNode Constructor (XmpNamespace, String)
 
Creates and initializes a new [XmpStructNode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpStructNode.htm.md) instance using a specified namespace.
 
**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 Sub New ( _ns As XmpNamespace, _name As String _
)
```
 
```csharp
public XmpStructNode(XmpNamespace ns,string name
)
```
 
### Parameters
 
 - ns
     - Type: [Aurigma.GraphicsMill.Codecs.XmpNamespace](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpNamespace.htm.md)
Namespace to which the new node belongs.

 - name
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
Name of the node.
   
## See Also

### Reference

- [XmpStructNode Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpStructNode.htm.md)
- [XmpStructNode Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_XmpStructNode_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
