## StringCollection::CopyTo method


Menyalin elemen ke elemen array yang ada.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| arr | const ArrayPtr\<System::String\>\& | [Array](../../../system/array/) untuk menyalin data ke. |
| indeks | const int32_t | Indeks dalam array tujuan untuk memulai penyalinan data. |

## Lihat Juga

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