System::Collections::Generic::SortedList::IndexOfKey 메서드

SortedList::IndexOfKey method

특정 키를 찾습니다.

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const
매개변수형식설명
keyTKey찾을 키.

ReturnValue

지정된 키의 인덱스, 찾지 못하면 -1을 반환합니다.

또 보기