[#BloombergLP-bdlc-HashTable-key]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/HashTable.adoc[HashTable]::key
:relfileprefix: ../../../
:mrdocs:

Return the reference to the non&hyphen;modifiable key of the element identified by the specified `handle`&period; The behavior is undefined unless `handle` is valid&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
KEY const&
key(xref:BloombergLP/bdlc/HashTable/Handle.adoc[Handle] const& handle) const;
----

== Return Value

non&hyphen;modifiable reference to the key of the element

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| handle of the element whose key is returned
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
