## ControlCollection::CopyTo method


将集合内容复制到现有数组元素中。

```cpp
virtual void System::Windows::Forms::Control::ControlCollection::CopyTo(System::ArrayPtr<System::SharedPtr<Control>> array, int arrayIndex) override
```

## 另见

* Typedef [ArrayPtr](../../../../system/arrayptr/)
* Typedef [SharedPtr](../../../../system/sharedptr/)
* Class [Control](../../)
* Class [ControlCollection](../)
* Class [Control](../../)
* Namespace [System::Windows::Forms](../../../)
* Library [Aspose.Page for C++](../../../../)
