get_s390_option


Description:

public bool get_s390_option (uint32 idx, out string out_key, out string out_value)

Given an index, return the value of the s390 option at that index.

indexes are *not* guaranteed to be static across modifications to options done by add_s390_option and remove_s390_option, and should not be used to refer to options except for short periods of time such as during option iteration.

Parameters:

this

the SettingWired

idx

index of the desired option, from 0 to get_num_s390_options - 1

out_key

on return, the key name of the s390 specific option; this value is owned by the setting and should not be modified

out_value

on return, the value of the key of the s390 specific option; this value is owned by the setting and should not be modified

Returns:

true on success if the index was valid and an option was found, false if the index was invalid (ie, greater than the number of options currently held by the setting)




2022 vala-language.org