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