## StringBuilder::ToString() const method


ビルダーに現在含まれている文字列を取得します。

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


### ReturnValue

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

## 参照

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


ビルダーに現在含まれている部分文字列を取得します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| startIndex | int | 抽出範囲の開始インデックス。 |
| length | int | 抽出する文字数。 |

### ReturnValue

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

## 参照

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