System::Collections::Generic::List::FindIndex metodo
Contenuti
[
Nascondere
]List::FindIndex(int, int, System::Predicate<T>) method
Cerca un elemento che soddisfa un predicato specifico.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
| Parametro | Tipo | Descrizione |
|---|---|---|
| startIndex | int | Indice da cui iniziare la ricerca. |
| count | int | Numero di elementi da esaminare. |
| match | System::Predicate<T> | Predicato per verificare gli elementi. |
ReturnValue
Indice dell’elemento corrispondente o -1 se non trovato.
Vedi anche
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::FindIndex(int, System::Predicate<T>) method
Cerca un elemento che soddisfa un predicato specifico.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
| Parametro | Tipo | Descrizione |
|---|---|---|
| startIndex | int | Indice da cui iniziare la ricerca. |
| match | System::Predicate<T> | Predicato per verificare gli elementi. |
ReturnValue
Indice dell’elemento corrispondente o -1 se non trovato.
Vedi anche
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::FindIndex(System::Predicate<T>) method
Cerca un elemento che soddisfa un predicato specifico.
int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
| Parametro | Tipo | Descrizione |
|---|---|---|
| match | System::Predicate<T> | Predicato per verificare gli elementi. |
ReturnValue
Indice dell’elemento corrispondente o -1 se non trovato.
Vedi anche
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++