ImmutableList<T>.FindLast(Predicate<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire immutable list.
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
Parameters
- match
- Predicate<T>
The delegate that defines the conditions of the element to search for.
Returns
T
The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T
.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.