System::Collections::Specialized::StringCollection::IndexOf‑metod
StringCollection::IndexOf method
Söker efter specifik sträng i behållaren.
int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
| Parameter | Type | Beskrivning |
|---|---|---|
| value | const System::String& | String att söka efter. |
ReturnValue
Index för första förekomsten av den angivna strängen eller -1 om den inte hittas.
Se även
- Class String
- Class StringCollection
- Namespace System::Collections::Specialized
- Library Aspose.Page for C++