System::Collections::Generic::List::FindIndex method
Contents
[
Hide
]List::FindIndex(int, int, System::Predicate<T>) method
Looks for element adhering to specific predicate.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
Parameter | Type | Description |
---|---|---|
startIndex | int | Index to start search from. |
count | int | Number of elements to look through. |
match | System::Predicate<T> | Predicate to check elements with. |
ReturnValue
Index of matching element or -1 if not found.
See Also
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++
List::FindIndex(int, System::Predicate<T>) method
Looks for element adhering to specific predicate.
int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
Parameter | Type | Description |
---|---|---|
startIndex | int | Index to start search from. |
match | System::Predicate<T> | Predicate to check elements with. |
ReturnValue
Index of matching element or -1 if not found.
See Also
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++
List::FindIndex(System::Predicate<T>) method
Looks for element adhering to specific predicate.
int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
Parameter | Type | Description |
---|---|---|
match | System::Predicate<T> | Predicate to check elements with. |
ReturnValue
Index of matching element or -1 if not found.
See Also
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++