get_value


Description:

[ Deprecated ( replacement = "get_variant" , since = "1.4" ) ]
public SettingSource get_value (string key, ref Value value)

Warning: get_value is deprecated. Use get_variant.

Gets the value of the configuration setting key: value must be a Value initialized to the type of the setting.

Note:

Use get_variant instead.

Parameters:

this

the AccountService.

key

the name of the setting to retrieve.

value

an initialized Value to receive the setting's value.

Returns:

one of <type>SettingSource</type>: ag_setting_source_none if the setting is not present, ag_setting_source_account if the setting comes from the account configuration, or ag_setting_source_profile if the value comes as predefined in the profile.




2022 vala-language.org