## String::ToCharArray method


文字列またはサブ文字列を文字の配列に変換します。

```cpp
ArrayPtr<char_t> System::String::ToCharArray(int32_t startIndex=0, int32_t length=INT32_MAX) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| startIndex | int32_t | サブ文字列の開始インデックス。 |
| length | int32_t | サブ文字列の長さ。 |

### ReturnValue

[Array](../../array/) containing characters of the string.

## 参照

* Typedef [ArrayPtr](../../arrayptr/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
