---
title: "XmpArrayNode..::.IndexOf Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpArrayNode_IndexOf_1_d02429b3.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.IndexOf Method 
 
Searches for the specified object and returns the index of the first occurrence within the current one-dimensional instance.
 
**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 Function IndexOf ( _value As Object _
) As Integer
```
 
```csharp
public int IndexOf(Object value
)
```
 
### Parameters
 
 - value
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
Object to locate in the current array.
 
### Return Value
Index of the first occurrence of value within the entire array, if found; otherwise, the lower bound of the array minus 1.
 
### Implements
 
[IList.IndexOf(Object)](http://msdn2.microsoft.com/en-us/2zt6cw37)
   
## 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)
