System::Collections::Generic::List::CopyTo 方法
内容
[
隐藏
]List::CopyTo(const System::ArrayPtr<T>&) method
将所有元素复制到现有数组元素中。
void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
| 参数 | 类型 | 描述 |
|---|---|---|
| array | const System::ArrayPtr<T>& | 要复制元素的 Array。 |
另见
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::CopyTo(int, const System::ArrayPtr<T>&, int, int) method
从指定索引开始,将元素复制到现有数组元素中。
void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
| 参数 | 类型 | 描述 |
|---|---|---|
| 索引 | int | 当前对象表示的列表中要开始复制的元素的零基索引 |
| array | const System::ArrayPtr<T>& | 要复制元素的 Array。 |
| arrayIndex | int | 目标数组中的起始位置。 |
| count | int | 要复制的元素数量。 |
另见
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::CopyTo(System::ArrayPtr<T>, int) method
将列表元素复制到现有数组元素中。
void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
| 参数 | 类型 | 描述 |
|---|---|---|
| 数组 | System::ArrayPtr<T> | 目标数组。 |
| arrayIndex | int | 目标数组的起始索引。 |
另见
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++