ImmutableList<T>.Builder.FindIndex 메서드

정의

오버로드

FindIndex(Int32, Predicate<T>)

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하여 지정된 인덱스에서 마지막 요소로 확장되는 변경할 수 없는 목록의 요소 범위 내에서 일치하는 요소 중 첫 번째 요소의 0부터 시작하는 인덱스를 반환합니다.

FindIndex(Int32, Int32, Predicate<T>)

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하고 지정된 인덱스부터 시작하여 지정된 수의 요소를 포함하는 변경할 수 없는 목록의 요소 범위에서 일치하는 요소 중 첫 번째로 나타나는 요소의 0부터 시작하는 인덱스를 반환합니다.

FindIndex(Predicate<T>)

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하여 전체 변경할 수 없는 목록에서 일치하는 요소 중 첫 번째로 나타나는 요소의 0부터 시작하는 인덱스를 반환합니다.

FindIndex(Int32, Predicate<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하여 지정된 인덱스에서 마지막 요소로 확장되는 변경할 수 없는 목록의 요소 범위 내에서 일치하는 요소 중 첫 번째 요소의 0부터 시작하는 인덱스를 반환합니다.

public:
 virtual int FindIndex(int startIndex, Predicate<T> ^ match);
public:
 int FindIndex(int startIndex, Predicate<T> ^ match);
public int FindIndex (int startIndex, Predicate<T> match);
abstract member FindIndex : int * Predicate<'T> -> int
override this.FindIndex : int * Predicate<'T> -> int
member this.FindIndex : int * Predicate<'T> -> int
Public Function FindIndex (startIndex As Integer, match As Predicate(Of T)) As Integer

매개 변수

startIndex
Int32

검색의 0부터 시작하는 인덱스입니다.

match
Predicate<T>

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

반환

match에 정의된 조건과 일치하는 요소가 있으면 일치하는 요소 중 첫 번째로 나타나는 요소의 인덱스(0부터 시작)이고, 그렇지 않으면 -1입니다.

적용 대상

FindIndex(Int32, Int32, Predicate<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하고 지정된 인덱스부터 시작하여 지정된 수의 요소를 포함하는 변경할 수 없는 목록의 요소 범위에서 일치하는 요소 중 첫 번째로 나타나는 요소의 0부터 시작하는 인덱스를 반환합니다.

public:
 virtual int FindIndex(int startIndex, int count, Predicate<T> ^ match);
public:
 int FindIndex(int startIndex, int count, Predicate<T> ^ match);
public int FindIndex (int startIndex, int count, Predicate<T> match);
abstract member FindIndex : int * int * Predicate<'T> -> int
override this.FindIndex : int * int * Predicate<'T> -> int
member this.FindIndex : int * int * Predicate<'T> -> int
Public Function FindIndex (startIndex As Integer, count As Integer, match As Predicate(Of T)) As Integer

매개 변수

startIndex
Int32

검색의 0부터 시작하는 인덱스입니다.

count
Int32

검색할 섹션에 있는 요소 수입니다.

match
Predicate<T>

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

반환

match에 정의된 조건과 일치하는 요소가 있으면 일치하는 요소 중 첫 번째로 나타나는 요소의 인덱스(0부터 시작)이고, 그렇지 않으면 -1입니다.

적용 대상

FindIndex(Predicate<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 조건자에 정의된 조건과 일치하는 요소를 검색하여 전체 변경할 수 없는 목록에서 일치하는 요소 중 첫 번째로 나타나는 요소의 0부터 시작하는 인덱스를 반환합니다.

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

매개 변수

match
Predicate<T>

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

반환

match에 정의된 조건과 일치하는 요소가 있으면 일치하는 요소 중 첫 번째로 나타나는 요소의 인덱스(0부터 시작)이고, 그렇지 않으면 -1입니다.

적용 대상