System::Collections::Generic::SortedList::IndexOfKey metode

SortedList::IndexOfKey method

Mencari kunci spesifik.

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const
ParameterTipeDeskripsi
kunciTKeyKunci untuk dicari.

ReturnValue

indeks dari kunci yang ditentukan atau -1 jika tidak ditemukan.

Lihat Juga