icalparameter_kind paramkind = icalparameter_string_to_kind(PromiseFlatCString(param).get());  if (paramkind == ICAL_NO_PARAMETER || paramkind == ICAL_X_PARAMETER) return NS_ERROR_INVALID_ARG;  icalproperty_remove_parameter(mProperty, paramkind);  return NS_OK;
return NS_ERROR_NOT_IMPLEMENTED;
calIcalProperty::RemoveParameter(const nsACString &param){    icalparameter_kind paramkind =        icalparameter_string_to_kind(PromiseFlatCString(param).get());    if (paramkind == ICAL_NO_PARAMETER || paramkind == ICAL_X_PARAMETER)        return NS_ERROR_INVALID_ARG;    icalproperty_remove_parameter(mProperty, paramkind);    // XXX check ical errno    return NS_OK;}