from_string


Description:

public static VCardVersion from_string (string str)

Converts the str into one of the VCardVersion.

If the string does not match any of the known values the e_vcard_version_unknown is returned.

Parameters:

str

a version string, like "4.0"

Returns:

an VCardVersion corresponding to str, or e_vcard_version_unknown