System::Collections::Generic::SortedList::IndexOfValue 方法

SortedList::IndexOfValue method

查找特定值。

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfValue(TValue value) const
参数类型描述
TValue要查找的值。

ReturnValue

指定值首次出现的索引,如果未找到则为 -1。

另见