# AsSpan()

> Gets the ReadOnlySpan_1 representation of this FormatItem.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.Core.Parsing](/engine/6000.7/script-reference/unity/smartstrings/core/parsing.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public virtual ReadOnlySpan<char> AsSpan()
```

### Returns

| Type                                                                                | Description                                                                                                                            |
| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| [ReadOnlySpan\<char>](https://learn.microsoft.com/dotnet/api/system.readonlyspan-1) | The ReadOnlySpan\_1 representation of this [FormatItem](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/formatitem.md) |
