System::Collections::Generic::List::Find method

List::Find method

查找符合特定谓词的元素。

T System::Collections::Generic::List<T>::Find(System::Predicate<T> predicate)
参数类型描述
predicateSystem::Predicate<T>用于检查元素的 Predicate

ReturnValue

匹配元素的值,若未找到则为 nullprtr。

另见