AppStreamCompose.Result.get_component

### Method

# AppStreamCompose Resultget_component

since: 0.13.0

#### Declaration [src]

    AsComponent*
    asc_result_get_component (
      AscResult* result,
      const gchar* cid
    )

#### Description [src]

Gets the component by its component-id-.

Available since: 0.13.0

#### Parameters

`cid`

  Type: `const gchar*`

  Component ID to look for.

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

#### Return value

Type: `AsComponent`

An `AsComponent`.

The returned data is owned by the instance.