[#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 the default for the selection indicated by `selectionId`&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 the default for the selection indicated by name&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;_]#

== Return Value

0 on success, and a non&hyphen;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]#
