## SortedList::IndexOfValue method


查找特定值。

```cpp
int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfValue(TValue value) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | TValue | 要查找的值。 |

### ReturnValue

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

## 另见

* Class [SortedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
