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