System::Array::CopyTo 메서드

Array::CopyTo(ArrayPtr<T>, int) method

현재 배열의 모든 요소를 지정된 대상 배열로 복사합니다. 요소는 arrayIndex 인수로 지정된 인덱스부터 대상 배열에 삽입됩니다.

virtual void System::Array<T>::CopyTo(ArrayPtr<T> arr, int arrayIndex) override
매개변수형식설명
arrArrayPtr<T>대상 배열
arrayIndexint복사된 항목을 삽입하기 시작하는 대상 배열의 인덱스

또 보기

Array::CopyTo(const ArrayPtr<DstType>&, int64_t) const method

현재 배열의 모든 요소를 지정된 대상 배열에 복사합니다. 요소는 dstIndex 인수로 지정된 인덱스부터 대상 배열에 삽입됩니다.

template<typename DstType> void System::Array<T>::CopyTo(const ArrayPtr<DstType> &dstArray, int64_t dstIndex) const
매개변수설명
DstType대상 배열의 요소 유형
매개변수형식설명
dstArrayconst ArrayPtr<DstType>&대상 배열
dstIndexint64_t복사된 항목을 삽입하기 시작하는 대상 배열의 인덱스

또 보기

Array::CopyTo(const ArrayPtr<DstType>&, int64_t, int64_t, int64_t) const method

현재 배열에서 지정된 위치부터 지정된 개수만큼의 요소를 지정된 대상 배열에 복사합니다. 요소는 dstIndex 인수로 지정된 인덱스부터 대상 배열에 삽입됩니다.

template<typename DstType> void System::Array<T>::CopyTo(const ArrayPtr<DstType> &dstArray, int64_t srcIndex, int64_t dstIndex, int64_t count) const
매개변수설명
DstType대상 배열의 요소 유형
매개변수형식설명
dstArrayconst ArrayPtr<DstType>&대상 배열
srcIndexint64_t복사를 시작할 소스 배열의 인덱스
dstIndexint64_t복사된 항목을 삽입하기 시작하는 대상 배열의 인덱스
countint64_t복사할 요소 수

또 보기

Array::CopyTo(const System::Details::ArrayView<DstType>&, int64_t) const method

현재 배열의 모든 요소를 지정된 대상 배열 뷰에 복사합니다. 요소는 dstIndex 인수로 지정된 인덱스부터 대상 배열 뷰에 삽입됩니다.

template<typename DstType> void System::Array<T>::CopyTo(const System::Details::ArrayView<DstType> &dstArray, int64_t dstIndex) const
매개변수설명
DstType대상 배열 뷰의 요소 유형
매개변수형식설명
dstArrayconst System::Details::ArrayView<DstType>&대상 배열 뷰
dstIndexint64_t복사된 항목을 삽입하기 시작할 대상 배열 뷰의 인덱스

또 보기

Array::CopyTo(const System::Details::ArrayView<DstType>&, int64_t, int64_t, int64_t) const method

현재 배열에서 지정된 위치부터 지정된 개수만큼의 요소를 지정된 대상 배열 뷰에 복사합니다. 요소는 dstIndex 인수로 지정된 인덱스부터 대상 배열 뷰에 삽입됩니다.

template<typename DstType> void System::Array<T>::CopyTo(const System::Details::ArrayView<DstType> &dstArray, int64_t srcIndex, int64_t dstIndex, int64_t count) const
매개변수설명
DstType대상 배열 뷰의 요소 유형
매개변수형식설명
dstArrayconst System::Details::ArrayView<DstType>&대상 배열 뷰
srcIndexint64_t복사를 시작할 소스 배열의 인덱스
dstIndexint64_t복사된 항목을 삽입하기 시작할 대상 배열 뷰의 인덱스
countint64_t복사할 요소 수

또 보기