[#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 `<baljsn_encoder_testtypes.h>` Set this object to the default value for the selection indicated by `selectionId`. [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..._]# Set this object to the default value for the selection indicated by `name`. [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..._]# == Return Value 0 on success, and a non‐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]#