System::Collections::Generic::SortedList::IndexOfValue 方法
SortedList::IndexOfValue method
查找特定值。
int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfValue(TValue value) const
| Parameter | Type | 描述 |
|---|---|---|
| value | TValue | 要查找的值。 |
ReturnValue
指定值首次出现的索引,如果未找到则返回 -1。
另见
- Class SortedList
- Namespace System::Collections::Generic
- Library Aspose.Page for C++