# UxmlAttributeNames(string, string, Type, params string[])

> Creates a new instance of UxmlAttributeNames.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## UxmlAttributeNames(string, string, Type, string\[])

```csharp
public UxmlAttributeNames(string fieldName, string uxmlName, Type typeReference = null, params string[] obsoleteNames)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The field name of the UXML attribute.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The type reference of the UXML attribute.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type reference of the UXML attribute.**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): The obsolete names of the UXML attribute.
