set_added


Description:

[ Version ( deprecated_since = "2.66" , replacement = "set_added_date_time" ) ]
public void set_added (string uri, time_t added)

Warning: set_added is deprecated since 2.66. Use set_added_date_time.

Sets the time the bookmark for uri was added into this.

Note:

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

If no bookmark for uri is found then it is created.

Parameters:

this

a BookmarkFile

uri

a valid URI

added

a timestamp or -1 to use the current time