## 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

فهرس أول ظهور للسلسلة المحددة أو -1 إذا لم تُعثر عليها.

## انظر أيضًا

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