[#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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#