## StringCollection::IndexOf method


Busca una cadena específica en el contenedor.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | const System::String\& | [String](../../../system/string/) para buscar. |

### ReturnValue

[Index](../../../system/index/) of first occurrence of specified string or -1 if not found.

## Ver también

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