System::Collections::Generic::List::FindLast 方法

List::FindLast method

查找符合特定谓词的最后一个元素。

T System::Collections::Generic::List<T>::FindLast(System::Predicate<T> match)
ParameterType描述
matchSystem::Predicate<T>Predicate 用于检查元素。

ReturnValue

匹配元素的值,如果未找到则为 nullptr。

另见