from_string


Description:

[ Version ( since = "0.5.0" ) ]
public static ErrorEnum from_string (string code)

Converts a text enumerated type to its unsigned integer representation

Parameters:

code

Text describing the enumerated type

Returns:

the enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG