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