[#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. == Synopsis Declared in `<balcl_optionvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setType(xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum] type); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#