add_option


Description:

public bool add_option (string name, string value)

Add an option to the table.

Adding a new name replaces any existing name/value pair that may already exist.

Parameters:

this

the SettingBond

name

name for the option

value

value for the option

Returns:

returns false if either name or value is null , in that case the option is not set. Otherwise, the function does not fail and does not validate the arguments. All validation happens via verify or do basic validation yourself with validate_option.

Note: Before 1.30, libnm would perform basic validation of the name and the value via validate_option and reject the request by returning FALSE. Since 1.30, libnm no longer rejects any values as the setter is not supposed to perform validation.