[#BloombergLP-bdlat_ChoiceFunctions-selectionId] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat_ChoiceFunctions]::selectionId :relfileprefix: ../../ :mrdocs: Return the id of the current selection if the selection is defined, and k_UNDEFINED_SELECTION_ID otherwise. == Synopsis Declared in `<bdlat_choicefunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int selectionId(TYPE const& object); ---- == Return Value id of the current selection, or `k_UNDEFINED_SELECTION_ID` if none == Parameters [cols="1,4"] |=== | Name| Description | *object* | choice object to query |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#