System::Collections::Generic::List::CopyTo método
Contenido
[
Ocultar
]List::CopyTo(const System::ArrayPtr<T>&) method
Copia todos los elementos en los elementos existentes del arreglo.
void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
| Parámetro | Tipo | Descripción |
|---|---|---|
| array | const System::ArrayPtr<T>& | Array para copiar elementos. |
Ver también
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::CopyTo(int, const System::ArrayPtr<T>&, int, int) method
Copia los elementos a partir del índice especificado en los elementos existentes del arreglo.
void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
| Parámetro | Tipo | Descripción |
|---|---|---|
| índice | int | Un índice basado en 0 del elemento en la lista representada por el objeto actual desde el que comenzar a copiar. |
| array | const System::ArrayPtr<T>& | Array para copiar elementos. |
| arrayIndex | int | Posición inicial en la matriz de destino. |
| count | int | Número de elementos a copiar. |
Ver también
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::CopyTo(System::ArrayPtr<T>, int) method
Copia los elementos de la lista en los elementos existentes del arreglo.
void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
| Parámetro | Tipo | Descripción |
|---|---|---|
| array | System::ArrayPtr<T> | Matriz de destino. |
| arrayIndex | int | Índice inicial de la matriz de destino. |
Ver también
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++