[#BloombergLP-balm-MetricDescription-setCategory] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricDescription.adoc[MetricDescription]::setCategory :relfileprefix: ../../../ :mrdocs: Set the category of this metric description to the object at the specified `category` address. The behavior is undefined unless `category` remains valid for the lifetime of this object. == Synopsis Declared in `<balm_metricdescription.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setCategory(xref:BloombergLP/balm/Category.adoc[Category] const* category); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#