## Collection::idx_set method


在指定索引处设置值。

```cpp
virtual void System::Collections::ObjectModel::Collection<T>::idx_set(int index, T value) override
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 索引 | int | 要设置值的索引。 |
| value | T | 要在指定索引处设置的值。 |

## 另见

* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.Page for C++](../../../)
