System::Collections::Specialized::StringCollection::IndexOf method

StringCollection::IndexOf method

Looks for specific string in container.

int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
ParameterTypeDescription
valueconst System::String&String to look for.

ReturnValue

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

See Also