## SortedList::IndexOfKey method


يبحث عن المفتاح المحدد.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| المفتاح | TKey | المفتاح للبحث عنه. |

### ReturnValue

فهرس المفتاح المحدد أو -1 إذا لم يتم العثور عليه.

## انظر أيضًا

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