---
title: "XmpValueNode Constructor (XmpNodeType, String, XmpNamespace, String)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_XmpValueNode_ctor_4_6c10fa5a.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/)

# XmpValueNode Constructor (XmpNodeType, String, XmpNamespace, String)
 
Creates and initializes a new [XmpValueNode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpValueNode.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 ( _nodeType As XmpNodeType, _value As String, _ns As XmpNamespace, _name As String _
)
```
 
```csharp
public XmpValueNode(XmpNodeType nodeType,string value,XmpNamespace ns,string name
)
```
 
### Parameters
 
 - nodeType
     - Type: [Aurigma.GraphicsMill.Codecs.XmpNodeType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpNodeType.htm.md)
Type of the node.

 - value
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
Value to be stored in the node.

 - 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

- [XmpValueNode Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpValueNode.htm.md)
- [XmpValueNode Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_XmpValueNode_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
