System::Collections::Generic::SortedList::IndexOfKey 方法
SortedList::IndexOfKey method
查找特定键。
int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 键 | TKey | 要查找的键。 |
ReturnValue
指定键的索引,如果未找到则为 -1。
另见
- Class SortedList
- Namespace System::Collections::Generic
- Library Aspose.Font for C++