add_attribute_with_value


Description:

public void add_attribute_with_value (owned VCardAttribute attr, string value)

Prepends attr to this, setting it to value.

This takes ownership of attr.

This is a convenience wrapper around add_value and add_attribute.

Parameters:

this

an VCard

attr

an VCardAttribute to add

value

a value to assign to the attribute