## StringCollection::IndexOf method


Αναζητά συγκεκριμένη συμβολοσειρά στο δοχείο.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| value | const System::String\& | [String](../../../system/string/) για αναζήτηση. |

### ReturnValue

Δείκτης της πρώτης εμφάνισης του καθορισμένου string ή -1 αν δεν βρεθεί.

## Δείτε επίσης

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