[#BloombergLP-balcl-CommandLineOptionsHandle-type-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::type
:relfileprefix: ../../../
:mrdocs:

Return the type of the option at the specified `index` in this handle object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum]
type(std::size&lowbar;t index) const;
----

== Description

The behavior is undefined unless `index &lt; numOptions()`&period;

== Return Value

type of the option at `index`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| zero&hyphen;based option position
|===


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