System::Array::ConstrainedCopy 方法

Array::ConstrainedCopy method

复制一段元素,从指定源位置的 System.Array 开始。

template<typename SrcType,typename DstType> static void System::Array<T>::ConstrainedCopy(const ArrayPtr<SrcType> &srcArray, int64_t srcIndex, const ArrayPtr<DstType> &dstArray, int64_t dstIndex, int64_t count)
参数描述
SrcType源数组中元素的类型
DstType目标数组中元素的类型
参数类型描述
srcArrayconst ArrayPtr<SrcType>&源数组
srcIndexint64_t源数组中的索引,指示要复制的项目范围的起始位置
dstArrayconst ArrayPtr<DstType>&目标数组
dstIndexint64_t目标数组中的索引,指示开始插入复制项目的位置
countint64_t要复制的元素数量

备注

临时原始实现,未完成任何工作!

另见