[#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 the default for the selection indicated by name. == Synopsis Declared in `<bdlar_choiceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int makeSelection( char const* selectionName, int selectionNameLength) const; ---- == Description 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). == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *selectionName* | name of the selection to make current | *selectionNameLength* | length of `selectionName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#