PresetT.setMeta

Sets a new value for an existing meta data item or adds a new item. Meta data tag names can be something like e.g. "comment". Supplying NULL for the value will unset an existing value.

template PresetT(TStruct)
bool
setMeta
(
string name
,
string tag
,
string value
)

Parameters

name string

preset name

tag string

meta data item name

value string

new value

Return Value

Type: bool

TRUE for success, FALSE if e.g. there is no preset with that name