## ControlCollection::idx_get(int) const method


By-index accessor.

```cpp
virtual System::SharedPtr<Control> System::Windows::Forms::Control::ControlCollection::idx_get(int index) const override
```

## See Also

* Typedef [SharedPtr](../../../../system/sharedptr/)
* Class [Control](../../)
* Class [ControlCollection](../)
* Class [Control](../../)
* Namespace [System::Windows::Forms](../../../)
* Library [Aspose.Page for C++](../../../../)
## ControlCollection::idx_get(System::String) const method


By-name accessor.

```cpp
virtual System::SharedPtr<Control> System::Windows::Forms::Control::ControlCollection::idx_get(System::String key) const
```

## See Also

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