---
title: "XmpArrayNode..::.Clear Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpArrayNode_Clear.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/)

# XmpArrayNode.Clear Method 
 
Sets all elements in the array to zero, to **false**, or to a null reference (**Nothing** in Visual Basic), depending on the element type.
 
**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 Clear
```
 
```csharp
public void Clear()
```
 
### Implements
 
[IList.Clear()](http://msdn2.microsoft.com/en-us/5h6ak0yz)
 
## Remarks
  
Reference-type elements are set to a null reference (**Nothing** in Visual Basic). Boolean-type elements are set to **false**. Other value-type elements are set to zero.
 
This method only clears the values of the elements; it does not delete the elements themselves.
   
## See Also

### Reference

- [XmpArrayNode Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpArrayNode.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
