System::Collections::Generic::List::FindIndex méthode

List::FindIndex(int, int, System::Predicate<T>) method

Recherche un élément répondant à un prédicat spécifique.

int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
ParamètreTypeDescription
startIndexintIndex à partir duquel commencer la recherche.
countintNombre d’éléments à parcourir.
matchSystem::Predicate<T>Predicate pour vérifier les éléments avec.

ReturnValue

Index de l’élément correspondant ou -1 si non trouvé.

Voir aussi

List::FindIndex(int, System::Predicate<T>) method

Recherche un élément répondant à un prédicat spécifique.

int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
ParamètreTypeDescription
startIndexintIndex à partir duquel commencer la recherche.
matchSystem::Predicate<T>Predicate pour vérifier les éléments avec.

ReturnValue

Index de l’élément correspondant ou -1 si non trouvé.

Voir aussi

List::FindIndex(System::Predicate<T>) method

Recherche un élément répondant à un prédicat spécifique.

int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
ParamètreTypeDescription
matchSystem::Predicate<T>Predicate pour vérifier les éléments avec.

ReturnValue

Index de l’élément correspondant ou -1 si non trouvé.

Voir aussi