ICalGLib.VcardComponent.new_from_string
Description: Reference for ICalGLib.VcardComponent.new_from_string

### Constructor

# ICalGLib VcardComponentnew_from_string

since: 4.0

#### Declaration [src]

    ICalVcardComponent*
    i_cal_vcard_component_new_from_string (
      const gchar* str
    )

#### Description [src]

Creates a new `ICalVcardComponent` based on a string.

Available since: 4.0

#### Parameters

`str`

  Type: `const gchar*`

  The string used to create `ICalVcardComponent`.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `ICalVcardComponent`

The newly created `ICalVcardComponent` based on `str`.

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