System::Collections::Generic::SortedList::IndexOfKey μέθοδος

SortedList::IndexOfKey method

Αναζητά συγκεκριμένο κλειδί.

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const
ParameterTypeΠεριγραφή
κλειδίTKeyΚλειδί προς αναζήτηση.

ReturnValue

Δείκτης του καθορισμένου κλειδιού ή -1 αν δεν βρεθεί.

Δείτε επίσης