## StringBuilder::ToString() const method


Obtient la chaîne actuellement contenue dans le builder.

```cpp
String System::Text::StringBuilder::ToString() const override
```


### ReturnValue

[String](../../../system/string/) representation of builder's data.

## Voir aussi

* Class [String](../../../system/string/)
* Class [StringBuilder](../)
* Namespace [System::Text](../../)
* Library [Aspose.Font for C++](../../../)
## StringBuilder::ToString(int, int) const method


Obtient la sous-chaîne actuellement contenue dans le builder.

```cpp
String System::Text::StringBuilder::ToString(int startIndex, int length) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| startIndex | int | Indice de début de la plage d'extraction. |
| longueur | int | Nombre de caractères à extraire. |

### ReturnValue

[String](../../../system/string/) representation of builder's data subrange.

## Voir aussi

* Class [String](../../../system/string/)
* Class [StringBuilder](../)
* Namespace [System::Text](../../)
* Library [Aspose.Font for C++](../../../)
