[#BloombergLP-bdlar-bdlat_choiceSelectionId-0eb] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat_choiceSelectionId :relfileprefix: ../../ :mrdocs: Return the id of the current selection if the selection is defined, and ‐1 otherwise. == Synopsis Declared in `<bdlar_choiceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int bdlat_choiceSelectionId(xref:BloombergLP/bdlar/ChoiceConstRef.adoc[ChoiceConstRef] const& ref); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#