[#BloombergLP-bdld-DatumMapEntry-setKey]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapEntry.adoc[DatumMapEntry]::setKey
:relfileprefix: ../../../
:mrdocs:

Set the key for this entry to the specified `key`&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setKey(xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& key);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| new string key
|===


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