[#BloombergLP-bdlcc-SkipListPairHandle-key-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipListPairHandle.adoc[SkipListPairHandle]::key
:relfileprefix: ../../../
:mrdocs:

`key` overloads

== Synopses

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

Return a reference to the non&hyphen;modifiable &quot;key&quot; value of the pair referred to by this object&period; The behavior is undefined unless `isValid` returns `true`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
KEY const&
xref:BloombergLP/bdlcc/SkipListPairHandle/key-01.adoc[key]() const;
----

[.small]#xref:BloombergLP/bdlcc/SkipListPairHandle/key-01.adoc[_» more&period;&period;&period;_]#

Load the key value of the referred pair into `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/SkipListPairHandle/key-0a.adoc[key](KEY* value) const;
----

[.small]#xref:BloombergLP/bdlcc/SkipListPairHandle/key-0a.adoc[_» more&period;&period;&period;_]#

== Return Value

reference to the non&hyphen;modifiable &quot;key&quot; value of the referred pair

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| receives the retrieved value
|===


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