[#BloombergLP-balcl-CommandLineOptionsHandle-type-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::type :relfileprefix: ../../../ :mrdocs: `type` overloads == Synopses Declared in `<balcl_commandline.h>` Return the type of the option at the specified `index` in this handle object. The behavior is undefined unless `index < numOptions()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum] xref:BloombergLP/balcl/CommandLineOptionsHandle/type-06.adoc[type](std::size_t index) const; ---- [.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/type-06.adoc[_» more..._]# Return the type of the option having the specified `name`. The behavior is undefined unless this handle object has a `name` option (i.e., `0 <= index(name)`). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum] xref:BloombergLP/balcl/CommandLineOptionsHandle/type-0b.adoc[type](std::string_view const& name) const; ---- [.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/type-0b.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#