EyeshotCollection<T>.FindLast Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire collection.
Public Function FindLast( _ 
ByVal match As Predicate(Of T) _ 
) As T
This language is not supported or no code example is available.
public T FindLast( 
Predicate<T> match 
)
This language is not supported or no code example is available.

Parameters

match
Predicate<T>

The predicate delegate that defines the conditions of the element to search for.

Return Value

T

The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T.

Exception type Condition

ArgumentNullException

match is null.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition