[#BloombergLP-ball-ManagedAttributeSet-addPredicate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ManagedAttributeSet.adoc[ManagedAttributeSet]::addPredicate :relfileprefix: ../../../ :mrdocs: Add an attribute having the specified `value` to this object. Return 1 on success and 0 if an attribute having the same value already exists in this object. == Synopsis Declared in `<ball_managedattributeset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int addPredicate(xref:BloombergLP/ball/ManagedAttribute.adoc[ManagedAttribute] const& value); ---- == Description DEPRECATED: Use `addAttribute` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#