## 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/) для копирования данных в. |
| индекс | const int32_t | Индекс в целевом массиве, с которого начинается копирование данных. |

## См. также

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