System::Collections::Generic::List::FindIndex metode

List::FindIndex(int, int, System::Predicate<T>) method

Mencari elemen yang memenuhi predikat tertentu.

int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
ParameterTipeDeskripsi
startIndexintIndeks untuk memulai pencarian.
countintJumlah elemen untuk diperiksa.
matchSystem::Predicate<T>Predicate untuk memeriksa elemen.

ReturnValue

Indeks elemen yang cocok atau -1 jika tidak ditemukan.

Lihat Juga

List::FindIndex(int, System::Predicate<T>) method

Mencari elemen yang memenuhi predikat tertentu.

int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
ParameterTipeDeskripsi
startIndexintIndeks untuk memulai pencarian.
matchSystem::Predicate<T>Predicate untuk memeriksa elemen.

ReturnValue

Indeks elemen yang cocok atau -1 jika tidak ditemukan.

Lihat Juga

List::FindIndex(System::Predicate<T>) method

Mencari elemen yang memenuhi predikat tertentu.

int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
ParameterTipeDeskripsi
matchSystem::Predicate<T>Predicate untuk memeriksa elemen.

ReturnValue

Indeks elemen yang cocok atau -1 jika tidak ditemukan.

Lihat Juga