[#BloombergLP-bdlar-ChoiceRef-makeSelection-0bd] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ChoiceRef.adoc[ChoiceRef]::makeSelection :relfileprefix: ../../../ :mrdocs: `makeSelection` overloads == Synopses Declared in `<bdlar_choiceref.h>` Set the value 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). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlar/ChoiceRef/makeSelection-0bb.adoc[makeSelection](int selectionId) const; ---- [.small]#xref:BloombergLP/bdlar/ChoiceRef/makeSelection-0bb.adoc[_» more..._]# 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). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlar/ChoiceRef/makeSelection-09.adoc[makeSelection]( char const* selectionName, int selectionNameLength) const; ---- [.small]#xref:BloombergLP/bdlar/ChoiceRef/makeSelection-09.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#