enum_from_string


Description:

[ Version ( replacement = "UpdateStateEnum.from_string" , since = "0.5.0" ) ]
public static UpdateState enum_from_string (string update_state)

Converts a text enumerated type to its unsigned integer representation

Parameters:

update_state

Text describing the enumerated type

Returns:

the enumerated constant value, e.g. STABLE




2022 vala-language.org