get_added


Description:

[ Version ( deprecated_since = "2.66" , replacement = "get_added_date_time" ) ]
public time_t get_added (string uri) throws BookmarkFileError

Warning: get_added is deprecated since 2.66. Use get_added_date_time.

Gets the time the bookmark for uri was added to this

Note:

Use get_added_date_time instead, as `time_t` is deprecated due to the year 2038 problem.

In the event the URI cannot be found, -1 is returned and throws is set to g_bookmark_file_error_uri_not_found.

Parameters:

this

a BookmarkFile

uri

a valid URI

Returns:

a timestamp