Get the attribute name from this.
The VCardAttribute is owned by this and should not be freed. If the attribute does not exist, null is returned.
<note><para>This will only return the <emphasis>first</emphasis> attribute with the given name. To
get other attributes of that name (for example, other <code>TEL</code> attributes if a contact has multiple telephone numbers)
, use get_attributes and iterate over the list searching for matching attributes.
</para> <para>This method iterates over all attributes in the VCard, so should not be
called often. If extracting a large number of attributes from a vCard, it is more efficient to iterate once over the list returned by
get_attributes.</para></note>
| this |
an VCard |
| name |
the name of the attribute to get |
|
An VCardAttribute if found, or null. |