[#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 `&lt;bdlar&lowbar;choiceref&period;h&gt;`

Set the value to be the default for the selection indicated by the specified `selectionId`&period; Return 0 on success, and non&hyphen;zero value otherwise (i&period;e&period;, the selection is not found)&period;


[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&period;&period;&period;_]#

Set the value to be the default for the selection indicated by the specified `selectionName` of the specified `selectionNameLength`&period; Return 0 on success, and non&hyphen;zero value otherwise (i&period;e&period;, the selection is not found)&period;


[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&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
