System::Text::StringBuilder::CopyTo 方法

StringBuilder::CopyTo method

将构建器的数据复制到现有数组位置。

void System::Text::StringBuilder::CopyTo(int sourceIndex, System::ArrayPtr<char_t> const &destination, int destinationIndex, int count)
参数类型描述
sourceIndexint在构建器中开始复制的索引。
destinationSystem::ArrayPtr<char_t> const&目标数组。
destinationIndexint目标数组中开始插入的索引。
countint要复制的字符数。

另见