[#BloombergLP-bdlat_ChoiceFunctions-makeSelection-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat_ChoiceFunctions]::makeSelection :relfileprefix: ../../ :mrdocs: Set the value of the specified `object` to be the default for the selection indicated by the specified `selectionId`. Return 0 on success, and non‐zero value otherwise (i.e., the selection is not found). == Synopsis Declared in `<bdlat_choicefunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int makeSelection( TYPE* object, int selectionId); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#