set_relation_type


Description:

public void set_relation_type (string? relation_type)

Sets the relation_type property to relation_type , such as GCONTACT_RELATION_MANAGER or GCONTACT_RELATION_CHILD.

If relation_type is null, the relation type will be unset. When the GContactRelation is used in a query, however, exactly one of relation_type and label must be null.

Parameters:

this

a GContactRelation

relation_type

the new type for the relation, or null