# UxmlAttributeNames

> Holds the description data of a UXML attribute.

## Definition

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

```csharp
public readonly struct UxmlAttributeNames
```

## Remarks

This is used by the code generator when a control is using [UxmlElementAttribute](/engine/6000.0/script-reference/unityengine/uielements/uxmlelementattribute.md) and [UxmlAttributeAttribute](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributeattribute.md).

## Fields

| Value                                                                                                       | Description                               |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [fieldName](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributenames/fieldname.md)         | The field name of the UXML attribute      |
| [obsoleteNames](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributenames/obsoletenames.md) | The obsolete names of the UXML attribute. |
| [typeReference](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributenames/typereference.md) | The type reference of the UXML attribute. |
| [uxmlName](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributenames/uxmlname.md)           | The uxml name of the UXML attribute.      |

## Constructors

| Constructor                                                                                                                                                        | Description                                                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| [UxmlAttributeNames(System.String,System.String,System.Type,System.String\[\])](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributenames/ctor.md) | Creates a new instance of [UxmlAttributeNames](/engine/6000.0/script-reference/unityengine/uielements/uxmlattributenames.md). |
