# ToString()

> Gets a serialized value from this block.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

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

### Returns

| Type                                                           | Description                                               |
| -------------------------------------------------------------- | --------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The block name and the contents of the block as a string. |
