MetaStore.getAttributeValue

The #GdaMetaStore 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 gda.meta_store.MetaStore.setAttributeValue 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 store. 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.

class MetaStore
bool
getAttributeValue
(
string attName
,
out string attValue
)

Parameters

attName string

name of the attribute to get

attValue string

the place to store the attribute value

Return Value

Type: bool

TRUE if no error occurred

Throws