[#BloombergLP-balb-Choice2-accessSelection] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Choice2.adoc[Choice2]::accessSelection :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the non‐modifiable selection, supplying `accessor` with the corresponding selection information structure. Return the value returned from the invocation of `accessor` if this object has a defined selection, and ‐1 otherwise. == Synopsis Declared in `<balb_testmessages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ACCESSOR> int accessSelection(ACCESSOR& accessor) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#