## StringCollection::idx_set method


设置指定位置的值。

```cpp
void System::Collections::Specialized::StringCollection::idx_set(int index, const System::String &value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 索引 | int | 要设置字符串的索引。 |
| value | const System::String\& | [String](../../../system/string/) 要在指定索引设置的值。 |

## 另见

* Class [String](../../../system/string/)
* Class [StringCollection](../)
* Namespace [System::Collections::Specialized](../../)
* Library [Aspose.Font for C++](../../../)
