# ValueToString(TValueType)

> Converts a value of the specified generic type from the subclass to a string representation.

## Definition

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

## ValueToString(T)

```csharp
protected abstract string ValueToString(TValueType value)
```

### Parameters

**** (T): The value to convert.

### Returns

| Type                                                           | Description                      |
| -------------------------------------------------------------- | -------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A string representing the value. |

### Remarks

Subclasses must implement this method.
