---
title: "XmpData Methods "
canonical: https://www.graphicsmill.com/docs/gm5/Methods_T_Aurigma_GraphicsMill_Codecs_XmpData.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 Methods 
 
The [XmpData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [{dtor}](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_%7Bdtor%7D.htm.md) |  Enables using delete operator in C++ applications. It is strongly not recommended to use it directly. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Add](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Add_2_df764941.htm.md) |  Adds a node to the top of the XMP tree. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [AddNode](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_AddNode_1_79cf5b78.htm.md) |  Adds a node to the XMP tree. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Clear](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Clear.htm.md) |  Sets all elements in the array to zero, to **false**, or to a null reference (**Nothing** in Visual Basic), depending on the element type. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Contains](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Contains_1_d02429b3.htm.md) |  Determines whether a node is in the tree. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [CopyTo](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_CopyTo_2_d6abc6ee.htm.md) |  Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at the specified destination array index. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Dispose](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_LockableObject_Dispose.htm.md) |  Releases all resources used by this [LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md).<br> (Inherited from [LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Equals](http://msdn2.microsoft.com/en-us/bsc2ak47) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FindKeysByNamespace](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_FindKeysByNamespace_1_24e9c9cd.htm.md) |  Finds tags which belong to the provided namespace on the top level of the current tree. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetEnumerator](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_XmpData_GetEnumerator.htm.md) |  Overloaded. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetHashCode](http://msdn2.microsoft.com/en-us/zdee4b3y) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetType](http://msdn2.microsoft.com/en-us/dfwy45w9) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Load](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Load_1_bb3a7a4f.htm.md) |  Creates an XMP tree based on the provided XML code. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Lock](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_LockableObject_Lock.htm.md) |  Locks the object.<br> (Inherited from [LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [MemberwiseClone](http://msdn2.microsoft.com/en-us/57ctke0a) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Remove](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Remove_1_d02429b3.htm.md) |  Removes the first occurrence of a specific node from the tree. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Save](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_Save.htm.md) |  Returns an XML code corresponding to the tree of XMP fields stored in this [XmpData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [SetNode](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpData_SetNode_1_79cf5b78.htm.md) |  Sets a new value for the specified tag. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToString](http://msdn2.microsoft.com/en-us/7bxwbwt2) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Unlock](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_LockableObject_Unlock.htm.md) |  Unlocks the object previously locked with method [Lock()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_LockableObject_Lock.htm.md).<br> (Inherited from [LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md).) |
   
## 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)
