## StringCollection::operator[] method


Accessor function.

```cpp
System::String & System::Collections::Specialized::StringCollection::operator[](int index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | Index to get element at. |

### ReturnValue

Reference to string at specified position, either existing or newly created.

## See Also

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