get_vcard


Description:

public bool get_vcard (string uid, bool meta_contact, out string out_vcard, Cancellable? cancellable = null) throws Error

Fetch a vCard string for uid in this.

If meta_contact is specified, then a shallow vCard representation will be created holding only the e_contact_uid and e_contact_rev fields.

Parameters:

this

An BookCache

uid

The uid of the contact to fetch

meta_contact

Whether an entire contact is desired, or only the metadata

out_vcard

Return location to store the fetched vCard string

cancellable

optional Cancellable object, or null

Returns:

true on success, otherwise false is returned and throws is set appropriately.