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)
Parameter描述
SrcType源数组中元素的类型
DstType目标数组中元素的类型
ParameterType描述
srcArrayconst ArrayPtr<SrcType>&源数组
srcIndexint64_t源数组中的索引,指定要复制的项目范围的起始位置
dstArrayconst ArrayPtr<DstType>&目标数组
dstIndexint64_t目标数组中的索引,指定插入复制项目的起始位置
countint64_t要复制的元素数量

备注

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

另见