enum_from_string
Description:
[ Version ( replacement = "RestartEnum.from_string" , since = "0.5.0" ) ]
public static Restart enum_from_string (string restart)
public static Restart enum_from_string (string restart)
Converts a text enumerated type to its unsigned integer representation
Parameters:
restart |
Text describing the enumerated type |
Returns:
the enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG |