# ToString

> Returns a string representing the EntityId wrapped by the SceneHandle.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.SceneManagement](/engine/6000.7/script-reference/unityengine/scenemanagement.md)
* **Assembly:** UnityEngine.CoreModule

## ToString()

Returns a string representing the EntityId wrapped by the SceneHandle.

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

### Returns

| Type                                                           | Description                                                         |
| -------------------------------------------------------------- | ------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A string representation of the EntityId wrapped by the SceneHandle. |

## ToString(string)

Returns a string representing the EntityId wrapped by the SceneHandle.

```csharp
public string ToString(string format)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The format to use.

### Returns

| Type                                                           | Description                                                         |
| -------------------------------------------------------------- | ------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A string representation of the EntityId wrapped by the SceneHandle. |

## ToString(string, IFormatProvider)

Returns a string representing the EntityId wrapped by the SceneHandle.

```csharp
public string ToString(string format, IFormatProvider formatProvider)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The format to use.**** (\[IFormatProvider]\(https\://learn.microsoft.com/dotnet/api/system.iformatprovider)):&#x20;

### Returns

| Type                                                           | Description                                                         |
| -------------------------------------------------------------- | ------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A string representation of the EntityId wrapped by the SceneHandle. |
