[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories-makeSelection-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]::makeSelection
:relfileprefix: ../../../
:mrdocs:

`makeSelection` overloads

== Synopses

Declared in `&lt;baljsn&lowbar;encoder&lowbar;testtypes&period;h&gt;`

Set this object to the default value for the selection indicated by `selectionId`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeSelection-06.adoc[makeSelection](int selectionId);
----

[.small]#xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeSelection-06.adoc[_» more&period;&period;&period;_]#

Set this object to the default value for the selection indicated by `name`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeSelection-09.adoc[makeSelection](
    char const* name,
    int nameLength);
----

[.small]#xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/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*
| selection identifier
| *name*
| selection name
| *nameLength*
| length of `name`
|===


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