Méthode System::Collections::Specialized::StringCollection::IndexOf

StringCollection::IndexOf method

Recherche une chaîne spécifique dans le conteneur.

int System::Collections::Specialized::StringCollection::IndexOf(const System::String &value) const
ParamètreTypeDescription
valueconst System::String&String à rechercher.

ReturnValue

Indice de la première occurrence de la chaîne spécifiée ou -1 si non trouvée.

Voir aussi