ImmutableList<T>.FindLast(Predicate<T>) Méthode

Définition

Recherche un élément qui correspond aux conditions définies par le prédicat spécifié et retourne la dernière occurrence de l’intégralité de la liste immuable

public:
 virtual T FindLast(Predicate<T> ^ match);
public:
 T FindLast(Predicate<T> ^ match);
public T FindLast (Predicate<T> match);
public T? FindLast (Predicate<T> match);
abstract member FindLast : Predicate<'T> -> 'T
override this.FindLast : Predicate<'T> -> 'T
member this.FindLast : Predicate<'T> -> 'T
Public Function FindLast (match As Predicate(Of T)) As T

Paramètres

match
Predicate<T>

Délégué qui définit les conditions de l’élément à rechercher.

Retours

T

Dernier élément qui correspond aux conditions définies par le prédicat spécifié, le cas échéant ; sinon, valeur par défaut du type T.

S’applique à