System::Collections::Specialized::StringCollection::IndexOf método

StringCollection::IndexOf method

Busca una cadena específica en el contenedor.

int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
ParámetroTipoDescripción
valueconst System::String&String para buscar.

ReturnValue

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

Ver también