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

List::Find method

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

T System::Collections::Generic::List<T>::Find(System::Predicate<T> predicate)
ParameterType描述
predicateSystem::Predicate<T>Predicate 用于检查元素。

ReturnValue

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

另见