---
title: "XmpNamespace.GetNamespaceByPrefix Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpNamespace_GetNamespaceByPrefix_1_bb3a7a4f.htm
product: "Graphics Mill"
---

# XmpNamespace.GetNamespaceByPrefix Method 
 
Returns a namespace with the specified prefix.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public static XmpNamespace GetNamespaceByPrefix(string prefix
)
```
 
### Parameters
 
 - prefix
     - Type: System.String
The prefix of the namespace to get.
 
### Return Value
A [XmpNamespace](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpNamespace.htm.md) with the specified prefix.
   
## See Also

### Reference

- [XmpNamespace Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpNamespace.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
