ECal.ComponentPropertyBag.copy

### Method

# ECal ComponentPropertyBagcopy

since: 3.34

#### Declaration [src]

    ECalComponentPropertyBag*
    e_cal_component_property_bag_copy (
      const ECalComponentPropertyBag* bag
    )

#### Description [src]

Returns a newly allocated copy of `bag`, which should be freed with e_cal_component_property_bag_free(), when no longer needed.

Available since: 3.34

#### Return value

Type: `ECalComponentPropertyBag`

A newly allocated copy of `bag`.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.