## Array::SetValue method


设置指定索引处元素的值。

```cpp
void System::Array<T>::SetValue(const T &value, int index)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | const T\& | 要设置的值的 const 引用 |
| 索引 | int | 元素的索引 |

## 另见

* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
