## SortedList::IndexOfKey method


Belirli bir anahtarı arar.

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


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| anahtar | TKey | Aranacak anahtar. |

### ReturnValue

Belirtilen anahtarın indeksi veya bulunamazsa -1.

## Ayrıca Bakınız

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