# UxmlNamespacePrefixAttribute(string, string)

> Constructor.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor.UIElements](/engine/6000.5/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor

```csharp
public UxmlNamespacePrefixAttribute(string ns, string prefix)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The XML/C# namespace to which a prefix will be associated.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The prefix to associate to the namespace.
