---
id: "P:cAlgo.API.AspBlock.Title"
kind: "property"
type: "T:cAlgo.API.AspBlock"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Asp/AspBlock/Title/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# AspBlock.Title

Member of [AspBlock](https://help.ctrader.com/ctrader-algo/references/Plugin/Asp/AspBlock/index.md).

## Title

Returns title of the current block.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
string Title {get;}
```

Python:

```python
aspBlock.Title: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var block = Asp.SymbolTab.AddBlock("My Block");
Print("Block title: {0}", block.Title);
```

Python:

```python
block = api.Asp.SymbolTab.AddBlock("My Block")
api.Print(f"Block title: {block.Title}")
```

