## SortedList::IndexOfKey method


Mencari kunci spesifik.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| kunci | TKey | Kunci untuk dicari. |

### ReturnValue

indeks dari kunci yang ditentukan atau -1 jika tidak ditemukan.

## Lihat Juga

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