System::Collections::Generic::List::FindIndex method
Innehåll
[
Dölj
]List::FindIndex(int, int, System::Predicate<T>) method
Söker efter element som uppfyller ett specifikt predikat.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
| Parameter | Typ | Beskrivning |
|---|---|---|
| startIndex | int | Index att börja sökningen från. |
| count | int | Antal element att gå igenom. |
| match | System::Predicate<T> | Predicate för att kontrollera element med. |
ReturnValue
Index of matching element or -1 if not found.
Se även
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++
List::FindIndex(int, System::Predicate<T>) method
Söker efter element som uppfyller ett specifikt predikat.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
| Parameter | Typ | Beskrivning |
|---|---|---|
| startIndex | int | Index att börja sökningen från. |
| match | System::Predicate<T> | Predicate för att kontrollera element med. |
ReturnValue
Index of matching element or -1 if not found.
Se även
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++
List::FindIndex(System::Predicate<T>) method
Söker efter element som uppfyller ett specifikt predikat.
int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
| Parameter | Typ | Beskrivning |
|---|---|---|
| match | System::Predicate<T> | Predicate för att kontrollera element med. |
ReturnValue
Index of matching element or -1 if not found.
Se även
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++