[#BloombergLP-balm-MetricId-category] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricId.adoc[MetricId]::category :relfileprefix: ../../../ :mrdocs: Return the address of the non‐modifiable `Category` object identifying the category with which this metric id is associated. The behavior is undefined unless `isValid()` is `true`. Note that this method is logically equivalent to `description()‐>category()`. == Synopsis Declared in `<balm_metricid.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/Category.adoc[Category] const* category() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#