[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories-choice-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]::choice :relfileprefix: ../../../ :mrdocs: Return a non‐modifiable reference to the "Choice" selection. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategoriesChoice.adoc[EncoderTestChoiceWithAllCategoriesChoice] const& choice() const; ---- == Description Return a reference to the non‐modifiable "Choice" selection of this object if "Choice" is the current selection. The behavior is undefined unless "Choice" is the selection of this object. == Return Value non‐modifiable reference to the "Choice" selection [.small]#Created with https://www.mrdocs.com[MrDocs]#