get_attributes_by_name


Description:

[ Version ( since = "3.60" ) ]
public List<unowned VCardAttribute>? get_attributes_by_name (string name)

Returns all attributes of the name name stored in the this.

See also get_attribute, which returns the first found attribute only.

The returned VCardAttribute -s are owned by the this and they are valid until the this changes. The returned List should be freed with g_list_free, when no longer needed.

Parameters:

this

an VCard

name

an attribute name

Returns:

a new List of VCardAttribute objects, which are named name and stored in the this, or null, when the this does not contain any such attribute. The attributes are in the list in the order as they appear in the this.