[#BloombergLP-balb-FeatureTestMessage-selection2-063]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/FeatureTestMessage.adoc[FeatureTestMessage]::selection2
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector-00d.adoc[bsl::vector&lt;char&gt;] const&
selection2() const;
----

== Description

The behavior is undefined unless &quot;Selection2&quot; is the selection of this object&period;

== Return Value

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]#
