get_attribute_value


Description:

public bool get_attribute_value (string att_name, out string att_value) throws Error

The MetaStore object maintains a list of (name,value) attributes (attributes names starting with a '_' character are for internal use only and cannot be altered).

This method and the set_attribute_value method allows the user to add, set or remove attributes specific to their usage.

This method allows to get the value of a attribute stored in this. The returned attribute value is placed at att_value, the caller is responsible for free that string.

If there is no attribute named att_name then att_value is set to null and error will contain the GDA_META_STORE_ATTRIBUTE_NOT_FOUND_ERROR error code, and FALSE is returned.

Parameters:

this

a MetaStore object

att_name

name of the attribute to get

att_value

the place to store the attribute value

Returns:

TRUE if no error occurred




2022 vala-language.org