[#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`. == Synopsis Declared in `<ball_category.h>` [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]#