System::Collections::Generic::List::FindIndex method
Contenido
[
Ocultar
]List::FindIndex(int, int, System::Predicate<T>) method
Busca un elemento que cumpla un predicado específico.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
| Parámetro | Tipo | Descripción |
|---|---|---|
| startIndex | int | Índice desde el cual iniciar la búsqueda. |
| count | int | Número de elementos a examinar. |
| match | System::Predicate<T> | Predicate para comprobar elementos con. |
ReturnValue
Índice del elemento coincidente o -1 si no se encuentra.
Ver también
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::FindIndex(int, System::Predicate<T>) method
Busca un elemento que cumpla un predicado específico.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
| Parámetro | Tipo | Descripción |
|---|---|---|
| startIndex | int | Índice desde el cual iniciar la búsqueda. |
| match | System::Predicate<T> | Predicate para comprobar elementos con. |
ReturnValue
Índice del elemento coincidente o -1 si no se encuentra.
Ver también
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::FindIndex(System::Predicate<T>) method
Busca un elemento que cumpla un predicado específico.
int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
| Parámetro | Tipo | Descripción |
|---|---|---|
| match | System::Predicate<T> | Predicate para comprobar elementos con. |
ReturnValue
Índice del elemento coincidente o -1 si no se encuentra.
Ver también
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++