[#BloombergLP-ball-Rule-removeAttribute]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Rule.adoc[Rule]::removeAttribute
:relfileprefix: ../../../
:mrdocs:

Remove the attribute having the specified `value` from this object&period;

== Synopsis

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

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

== Description

Return the number of attributes being removed (i&period;e&period;, 1 on success and 0 if no attribute having `value` exists in this object)&period;

== Return Value

1 on success, and 0 if the attribute does not exist

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| attribute to remove
|===


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