# ShouldWriteAttributeValue(UxmlAttributeFlags)

> Determines if an attribute should be applied during UxmlSerializedData.Deserialize.

## Definition

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

```csharp
public static bool ShouldWriteAttributeValue(UxmlSerializedData.UxmlAttributeFlags attributeFlags)
```

### Parameters

**** (\[UxmlAttributeFlags]\(/engine/6000.6/script-reference/unityengine/uielements/uxmlserializeddata/uxmlattributeflags)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
