Searches properties of kind prop_kind
in the icalcomp
and returns one, which is usable for the locale
.
When locale
is null, the current locale is assumed. If no such property for the locale
exists either the one with no language parameter or the first found is returned.
Free the returned non-NULL Property with unref, when no longer needed.
icalcomp |
an Component |
prop_kind |
an PropertyKind to traverse |
locale |
a locale identifier, or null |
a property of kind |