# ToString()

> Converts the query to textual form. A textual query is of the form: \<All system Filters\> \<All user filters\> \<All textual values\>.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Hierarchy](/engine/6000.6/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule

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

### Returns

| Type                                                           | Description          |
| -------------------------------------------------------------- | -------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | return a text query. |
