[#BloombergLP-bdlat_ChoiceFunctions-makeSelection-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat&lowbar;ChoiceFunctions]::makeSelection
:relfileprefix: ../../
:mrdocs:

Set the value of the specified `object` 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;

== Synopsis

Declared in `&lt;bdlat&lowbar;choicefunctions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
makeSelection(
    TYPE* object,
    int selectionId);
----


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