FindIndex()
Array::FindIndex(System::ArrayPtr<T>, System::Predicate<T>) method
Searches for the first element in the specified array that satisfies the conditions of the specified predicate.
static int System::Array<T>::FindIndex(System::ArrayPtr<T> arr, System::Predicate<T> match)
Arguments
| Parameter | Type | Description | 
|---|---|---|
| arr | System::ArrayPtr<T> | Array to search an element in | 
| match | System::Predicate<T> | A predicate that defines the conditions to match array elements against | 
Return Value
The index of the first element in the array that satisfies the conditions defined by predicate, otherwise -1
See Also
- Typedef ArrayPtr
 - Typedef Predicate
 - Class Array
 - Namespace System
 - Library Aspose.Slides