[#BloombergLP-ball-ManagedAttributeSet-addAttribute]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ManagedAttributeSet.adoc[ManagedAttributeSet]::addAttribute
:relfileprefix: ../../../
:mrdocs:

Add an attribute having the specified `value` to this object&period; Return `true` on success and `false` if an attribute having the same `value` already exists in this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
addAttribute(xref:BloombergLP/ball/ManagedAttribute.adoc[ManagedAttribute] const& value);
----


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