## ControlCollection::idx_set(int, System::SharedPtr\<Control\>) method


按索引访问器。

```cpp
virtual void System::Windows::Forms::Control::ControlCollection::idx_set(int index, System::SharedPtr<Control> value) override
```

## 另见

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


按名称访问器。

```cpp
virtual void System::Windows::Forms::Control::ControlCollection::idx_set(System::String key, System::SharedPtr<Control> value)
```

## 另见

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