[#BloombergLP-balb-Choice2-selection2-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Choice2.adoc[Choice2]::selection2
:relfileprefix: ../../../
:mrdocs:

`selection2` overloads

== Synopses

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

Return a reference to the modifiable &quot;Selection2&quot; selection of this object if &quot;Selection2&quot; is the current selection&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/string.adoc[bsl::string]&
xref:BloombergLP/balb/Choice2/selection2-0e.adoc[selection2]();
----

[.small]#xref:BloombergLP/balb/Choice2/selection2-0e.adoc[_» more&period;&period;&period;_]#

Return a reference to the non&hyphen;modifiable &quot;Selection2&quot; selection of this object if &quot;Selection2&quot; is the current selection&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/string.adoc[bsl::string] const&
xref:BloombergLP/balb/Choice2/selection2-03.adoc[selection2]() const;
----

[.small]#xref:BloombergLP/balb/Choice2/selection2-03.adoc[_» more&period;&period;&period;_]#

== Return Value

* reference to the modifiable &quot;Selection2&quot; selection of this object if &quot;Selection2&quot; is the current selection
* reference to the non&hyphen;modifiable &quot;Selection2&quot; selection of this object if &quot;Selection2&quot; is the current selection


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