[#BloombergLP-ball-Attribute-setName] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Attribute.adoc[Attribute]::setName :relfileprefix: ../../../ :mrdocs: Set the attribute name of this object to the specified (literal) `name`. Note that `name` is not managed by this object and therefore must remain valid while in use by any `Attribute` object. == Synopsis Declared in `<ball_attribute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setName(char const* name); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#