ContactInfoField


Description:

[ CCode ( has_construct_function = false ) ]
public ContactInfoField (string field_name, string[] parameters, string[] field_value)

Parameters:

field_name

The name of the field; this is the lowercased name of a vCard field. For example, a field representing a contact's address would be named "adr".

parameters

A list of vCard type parameters applicable to this field, with their values. The type parameter names, and any values that are case-insensitive in vCard, MUST be in lower case. For example, a contact's preferred home address would have parameters 'type=home' and 'type=pref'.

field_value

For unstructured vCard fields (such as 'fn', a formatted name field), a single-element array containing the field's value. For structured fields (such as 'adr', an address field), an array corresponding to the semicolon-separated elements of the field (with empty strings for empty elements).

Returns:

a newly allocated ContactInfoField, free it with tp_contact_info_field_free