enum_from_string


Description:

[ Version ( replacement = "NetworkEnum.from_string" , since = "0.5.0" ) ]
public static Network enum_from_string (string network)

Converts a text enumerated type to its unsigned integer representation

Parameters:

network

Text describing the enumerated type

Returns:

the enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG




2022 vala-language.org