[ Version ( replacement = "RoleEnum.from_string" , since = "0.5.0" ) ]
public static Role enum_from_string (string role)
Converts a text enumerated type to its unsigned integer representation
role |
Text describing the enumerated type |
the enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG |