get_components_by_id


Description:

[ CCode ( cname = "as_pool_get_components_by_id_gi" ) ]
public GenericArray<Component> get_components_by_id (string cid)

Get a specific component by its ID.

This function may contain multiple results if we have data describing this component from multiple scopes/origin types.

This function fully transfers ownership of the returned container, to be used in GIR bindings.

Parameters:

this

An instance of Pool.

cid

The AppStream-ID to look for.

Returns:

An Component