add_option


Description:

public bool add_option (string name, string value)

Add an option to the table.

The option is compared to an internal list of allowed options. Option names may contain only alphanumeric characters (ie [a-zA-Z0-9]). Adding a new name replaces any existing name/value pair that may already exist.

The order of how to set several options is relevant because there are options that conflict with each other.

Parameters:

this

the SettingBond

name

name for the option

value

value for the option

Returns:

true if the option was valid and was added to the internal option list, false if it was not.




2022 vala-language.org