# ToFixedString()

> Returns a fixed string of the component type

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public FixedString128Bytes ToFixedString()
```

### Returns

| Type                                                                                            | Description                                                                                                             |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| [FixedString128Bytes](/engine/7000.0/script-reference/unity/collections/fixedstring128bytes.md) | A [FixedString128Bytes](/engine/7000.0/script-reference/unity/collections/fixedstring128bytes.md) of the component type |
