look_up_link


Description:

[ Version ( since = "0.1.1" ) ]
public unowned Link look_up_link (string rel)

Looks up a link by relation type from the list of links in the entry.

If the link has one of the standard Atom relation types, use one of the defined rel values, instead of a static string. e.g. gdata_link_edit or gdata_link_self.

In the rare event of requiring a list of links with the same rel value, use look_up_links.

Parameters:

this

a Entry

rel

the value of the <structfield>rel</structfield> attribute of the desired link

Returns:

a Link, or null if one was not found