[#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 the default for the selection indicated by `selectionId`. [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 the default for the selection indicated by name. [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..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *selectionId* | id of the selection to make current | *selectionName* | name of the selection to make current | *selectionNameLength* | length of `selectionName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#