## SortedList::IndexOfKey method


Cerca una chiave specifica.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chiave | TKey | Chiave da cercare. |

### ReturnValue

indice della chiave specificata o -1 se non trovato.

## Vedi anche

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