## StringCollection::IndexOf method


Recherche une chaîne spécifique dans le conteneur.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| value | const System::String\& | [String](../../../system/string/) à rechercher. |

### ReturnValue

Indice de la première occurrence de la chaîne spécifiée ou -1 si non trouvée.

## Voir aussi

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