---
title: "XmpNamespace..::.GetNamespaceByIndex Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_XmpNamespace_GetNamespaceByIndex_1_e1836fc4.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/)

# XmpNamespace.GetNamespaceByIndex Method 
 
Returns a namespace with the specified index.
 
**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 Shared Function GetNamespaceByIndex ( _index As Integer _
) As XmpNamespace
```
 
```csharp
public static XmpNamespace GetNamespaceByIndex(int index
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Index for which the namespace should be retrieved.
 
### Return Value
Namespace with the specified index.
   
## See Also

### Reference

- [XmpNamespace Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_XmpNamespace.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
