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
| Параметр | Тип | Описание |
|---|---|---|
| array | System::ArrayPtr<T> | Массив назначения. |
| arrayIndex | int | Начальный индекс массива назначения. |
См. также
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++