[#BloombergLP-balcl-OptionValue-setNull]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OptionValue.adoc[OptionValue]::setNull
:relfileprefix: ../../../
:mrdocs:

Set the value of this object, irrespective of that value&apos;s type, to its null state&period; The behavior is undefined unless `true &equals;&equals; hasNonVoidType()`&period; Note that `type()` is not changed&period;

== Synopsis

Declared in `&lt;balcl&lowbar;optionvalue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setNull();
----


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