EBookContacts.VCardAttribute.get_value_decoded

### Method

# EBookContacts VCardAttributeget_value_decoded

#### Declaration [src]

    GString*
    e_vcard_attribute_get_value_decoded (
      EVCardAttribute* attr
    )

#### Description [src]

Gets the value of a single-valued `EVCardAttribute`, `attr`, decoding it if necessary according to the encoding given in the vCard’s `ENCODING` attribute.

This will print a warning if called on an `EVCardAttribute` which is not single-valued (i.e. for which `e_vcard_attribute_is_single_valued()` returns `FALSE`). Use `e_vcard_attribute_get_values_decoded()` in such cases instead.

#### Return value

Type: `GString`

A newly allocated `GString` representing the value, or `NULL` if the attribute has no value.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.