System::Array::FindAll method

Array::FindAll method

Retrieves all the elements that match the conditions defined by the specified predicate.

static System::ArrayPtr<T> System::Array<T>::FindAll(System::ArrayPtr<T> arr, System::Predicate<T> match)
ParameterTypeDescription
arrSystem::ArrayPtr<T>Array to search an elements in
matchSystem::Predicate<T>A predicate that defines the conditions to match array elements against

ReturnValue

An Array containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty Array.

See Also