# ToString()

> Convert SearchViewState to a string.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public override string ToString()
```

### Returns

| Type                                                           | Description                                 |
| -------------------------------------------------------------- | ------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | String representation of a SearchViewState. |
