## StringCollection::CopyTo method


Копирует элементы в существующие элементы массива.

```cpp
void System::Collections::Specialized::StringCollection::CopyTo(const ArrayPtr<System::String> &arr, const int32_t index) const
```


| Параметр | Тип | Описание |
| --- | --- | --- |
| arr | const ArrayPtr\<System::String\>\& | [Array](../../../system/array/) для копирования данных. |
| index | const int32_t | [Index](../../../system/index/) в целевом массиве, с которого начинается копирование данных. |

## См. также

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [String](../../../system/string/)
* Class [StringCollection](../)
* Namespace [System::Collections::Specialized](../../)
* Library [Aspose.PDF for C++](../../../)
