## KeyValuePair::get_Key method


Gets key.

```cpp
const TKey & System::Collections::Generic::KeyValuePair<TKey, TValue>::get_Key() const
```


### ReturnValue

Const reference to key.

## See Also

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