[#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 `&lt;balcl&lowbar;commandline&period;h&gt;`

Return the type of the option at the specified `index` in this handle object&period; The behavior is undefined unless `index &lt; numOptions()`&period;


[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&lowbar;t index) const;
----

[.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/type-06.adoc[_» more&period;&period;&period;_]#

Return the type of the option having the specified `name`&period; The behavior is undefined unless this handle object has a `name` option (i&period;e&period;, `0 &lt;&equals; index(name)`)&period;


[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&lowbar;view const& name) const;
----

[.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/type-0b.adoc[_» more&period;&period;&period;_]#


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