[#BloombergLP-balm-MetricDescription-setName]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricDescription.adoc[MetricDescription]::setName
:relfileprefix: ../../../
:mrdocs:

Set the name of this metric description to the specified `name`&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricdescription&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setName(char const* name);
----

== Description

The behavior is undefined unless the contents of `name` remains valid and unmodified for the lifetime of this object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| null&hyphen;terminated metric name (held, not owned)
|===


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