get_value


Description:

public string? get_value ()

Gets the value of a single-valued VCardAttribute, this.

For example, for a FN (full name) attribute, this will return the contact’s full name as a single string.

This will print a warning if called on an VCardAttribute which is not single-valued (i.e. for which is_single_valued returns false). Use get_values in such cases instead.

Parameters:

this

an VCardAttribute

Returns:

A newly allocated string representing the value, or null if the attribute has no value.