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

Set the type of this object to the specified `type` and the value to the default value of that type&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setType(xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum] type);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *type*
| option type to set
|===


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