## StringCollection::IndexOf method


Zoekt naar een specifieke tekenreeks in de container.

```cpp
int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| value | const System::String\& | [String](../../../system/string/) om te zoeken. |

### ReturnValue

Index van de eerste voorkoming van de opgegeven tekenreeks of -1 als deze niet wordt gevonden.

## Zie ook

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