Set the value to the default for the selection indicated by selectionId.

Synopsis

Declared in <bdlar_choiceref.h>

int
makeSelection(int selectionId) const;

Description

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

selectionId

id of the selection to make current

Created with MrDocs