set_relation_type


Description:

public void set_relation_type (string? relation_type)

Sets the relation_type property to relation_type such as gdata_gcontact_event_anniversary or gdata_gcontact_event_other.

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

Parameters:

this

a GContactEvent

relation_type

the new relation type for the event, or null