add_component


Description:

[ Version ( deprecated = true , deprecated_since = "0.15.0" ) ]
public bool add_component (Component cpt) throws Error

Warning: add_component is deprecated since 0.15.0.

Register a new component in the AppStream metadata pool.

Note:

This function is very inefficient. Collect all the components you need to add, and then register them with as_pool_add_components in one go.

Parameters:

this

An instance of Pool

cpt

The Component to add to the pool.

Returns:

true if the new component was successfully added to the pool.




2022 vala-language.org