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