System::String::CopyTo 方法
String::CopyTo method
将字符串字符复制到现有数组元素中。不进行大小调整。
void System::String::CopyTo(int sourceIndex, const ArrayPtr<char_t> &destination, int destinationIndex, int count) const
| Parameter | Type | 描述 |
|---|---|---|
| sourceIndex | int | 要开始读取的字符串索引。 |
| destination | const ArrayPtr<char_t>& | 目标数组。 |
| destinationIndex | int | 要开始写入的数组索引。 |
| count | int | 要复制的字符数。 |
另见
- Typedef ArrayPtr
- Class String
- Namespace System
- Library Aspose.Page for C++