add_attribute_with_value_take


Description:

[ Version ( since = "3.60" ) ]
public void add_attribute_with_value_take (owned VCardAttribute attr, owned string value)

Prepends attr to this, setting it to value.

This takes ownership of the attr and the value.

This is a convenience wrapper around add_value_take and add_attribute.

See also add_attribute_with_value, append_attribute_with_value

Parameters:

this

an VCard

attr

an VCardAttribute to add

value

a value to assign to the attribute