System::Collections::Generic::List::CopyTo method
Contents
[
Hide
]List::CopyTo(System::ArrayPtr<T>, int) method
Copies list elements into existing array elements.
void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
Parameter | Type | Description |
---|---|---|
array | System::ArrayPtr<T> | Destination array. |
arrayIndex | int | Destination array starting index. |
See Also
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::CopyTo(const System::ArrayPtr<T>&) method
Copies all elements into existing array elements.
void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
Parameter | Type | Description |
---|---|---|
array | const System::ArrayPtr<T>& | Array to copy elements into. |
See Also
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::CopyTo(int, const System::ArrayPtr<T>&, int, int) method
Copies elements starting from the specified index into existing array elements.
void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
Parameter | Type | Description |
---|---|---|
index | int | A 0-based index of the element in the list represented by the current object to start copying from |
array | const System::ArrayPtr<T>& | Array to copy elements into. |
arrayIndex | int | Beginning position in desitnation array. |
count | int | Number of elements to copy. |
See Also
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++