ImmutableList<T>.Find(Predicate<T>) 메서드

정의

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하고 전체 변경할 수 없는 목록에서 첫 번째로 나타나는 요소를 반환합니다.

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

매개 변수

match
Predicate<T>

검색할 요소의 조건을 정의하는 대리자입니다.

반환

T

지정된 조건자에 정의된 조건과 일치하는 요소가 있으면 일치하는 요소 중 첫 번째 요소이고, 그렇지 않으면 T 형식의 기본값입니다.

적용 대상