ECal.ComponentParameterBag.remove_by_kind

### Method

# ECal ComponentParameterBagremove_by_kind

since: 3.34

#### Declaration [src]

    guint
    e_cal_component_parameter_bag_remove_by_kind (
      ECalComponentParameterBag* bag,
      ICalParameterKind kind,
      gboolean all
    )

#### Description [src]

Removes the first or all (depending on the `all`) parameters of the given `kind`.

Available since: 3.34

#### Parameters

`kind`

  Type: `ICalParameterKind`

  An `ICalParameterKind` to remove.

`all`

  Type: `gboolean`

  `TRUE` to remove all parameters of the `kind`, or `FALSE` to only the first.

#### Return value

Type: `guint`

How many parameters had been removed.