GContactRelation


Description:

[ CCode ( has_construct_function = false ) ]
public GContactRelation (string name, string? relation_type, string? label)

Creates a new GContactRelation.

More information is available in the <ulink type="http" url="http://code.google.com/apis/contacts/docs/3.0/reference.html#gcRelation" >gContact specification</ulink>.

Exactly one of relation_type and label should be provided; the other must be null .

Parameters:

name

the name of the relation

relation_type

the type of relation, or null

label

a free-form label for the type of relation, or null

Returns:

a new GContactRelation; unref with unref