## StringCollection::Insert method


向容器中插入特定值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 索引 | int | 用于插入字符串的索引。 |
| 值 | const System::String\& | 要插入到指定位置的值。 |

## 另见

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