Method

ICalGLibVcardComponentget_first_property

unstable since: 4.0

Declaration [src]

ICalVcardProperty*
i_cal_vcard_component_get_first_property (
  ICalVcardComponent* component,
  ICalVcardPropertyKind kind
)

Description [src]

Gets the first ICalVcardProperty with specific kind in ICalVcardComponent.

Available since: 4.0

Parameters

kind

Type: ICalVcardPropertyKind

An ICalVcardPropertyKind.

Return value

Type: ICalVcardProperty

The first ICalVcardProperty.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.