from_string


Description:

[ Version ( replacement = "ContactGender.sex_from_string" , since = "3.60" ) ]
public static ContactGenderSex from_string (string string)

Converts a string into an ContactGenderSex.

Unrecognized values are returned as e_contact_gender_sex_not_set.

Parameters:

string

a string representation of a gender sex

Returns:

a corresponding ContactGenderSex