[#BloombergLP-balcl-CommandLineOptionsHandle-value-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::value :relfileprefix: ../../../ :mrdocs: Return a `const` reference to the value (possibly in a null state) of the option at the specified `index` in this handle object. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& value(std::size_t index) const; ---- == Description The behavior is undefined unless `index < numOptions()`. == Return Value `const` reference to the value of the option at `index` == Parameters [cols="1,4"] |=== | Name| Description | *index* | zero‐based option position |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#