calIcalComponent::GetFirstProperty(PRInt32 kind, calIIcalProperty **prop)
calIcalComponent::GetFirstProperty(const nsACString &kind, calIIcalProperty **prop)
calIcalComponent::GetFirstProperty(PRInt32 kind, calIIcalProperty **prop){    icalproperty *icalprop =        icalcomponent_get_first_property(mComponent, (icalproperty_kind)kind);    if (!icalprop) {        *prop = nsnull;        return NS_OK;    }    *prop = new calIcalProperty(icalprop, this);    if (!*prop)        return NS_ERROR_OUT_OF_MEMORY;    NS_ADDREF(*prop);    return NS_OK;}