System::Collections::Specialized::StringCollection::IndexOf metod

StringCollection::IndexOf method

Söker efter en specifik sträng i behållaren.

int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
ParameterTypBeskrivning
valueconst System::String&String att leta efter.

ReturnValue

Index of first occurrence of specified string or -1 if not found.

Se även