System::String::CopyTo メソッド

String::CopyTo method

文字列の文字を既存の配列要素にコピーします。サイズ変更は行われません。

void System::String::CopyTo(int sourceIndex, const ArrayPtr<char_t> &destination, int destinationIndex, int count) const
パラメーター説明
sourceIndexint読み取り開始位置となる文字列内インデックス。
destinationconst ArrayPtr<char_t>&宛先配列。
destinationIndexint書き込み開始位置となる配列内インデックス。
countintコピーする文字数。

参照