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복사할 문자 수.

또 보기