System::Collections::Generic::List::FindIndex méthode
Contenu
[
Cacher
]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ètre | Type | Description |
|---|---|---|
| startIndex | int | Index à partir duquel commencer la recherche. |
| count | int | Nombre d’éléments à parcourir. |
| match | System::Predicate<T> | Predicate pour vérifier les éléments avec. |
ReturnValue
Index de l’élément correspondant ou -1 si non trouvé.
Voir aussi
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
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ètre | Type | Description |
|---|---|---|
| startIndex | int | Index à partir duquel commencer la recherche. |
| match | System::Predicate<T> | Predicate pour vérifier les éléments avec. |
ReturnValue
Index de l’élément correspondant ou -1 si non trouvé.
Voir aussi
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
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ètre | Type | Description |
|---|---|---|
| match | System::Predicate<T> | Predicate pour vérifier les éléments avec. |
ReturnValue
Index de l’élément correspondant ou -1 si non trouvé.
Voir aussi
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++