add_for_id


Description:

[ Version ( since = "0.3.6" ) ]
public bool add_for_id (string key_name, Value value)

Appends the value associated with key_name to this.

This key_name is used to create a new ParamSpec instance, which is further used to create and register a key using register_metadata_key.

A property key_name consists of segments consisting of ASCII letters and digits, separated by either the '-' or '_' character. The first character of a property key_name must be a letter. Key_names which violate these rules lead to undefined behaviour.

Parameters:

this

data to change

key_name

name of the key to change or add

value

the new value

Returns:

TRUE if value was added to key_name, FALSE otherwise.