[#BloombergLP-ball-CategoryHolder-setCategory]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryHolder.adoc[CategoryHolder]::setCategory
:relfileprefix: ../../../
:mrdocs:

Set the address of the category held by this holder to the specified `category`&period;

== Synopsis

Declared in `&lt;ball&lowbar;category&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setCategory(xref:BloombergLP/ball/Category.adoc[Category] const* category);
----


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