طريقة System::Collections::Generic::SortedList::IndexOfKey

SortedList::IndexOfKey method

يبحث عن المفتاح المحدد.

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const
معاملنوعالوصف
المفتاحTKeyالمفتاح للبحث عنه.

ReturnValue

فهرس المفتاح المحدد أو -1 إذا لم يتم العثور عليه.

انظر أيضًا