set_named


Description:

public bool set_named (CompareType compare_type, string name, string value)

Finds an element named name and sets its value to value, or appends a new element, in case no such named element exists in the this yet.

In case there are more elements named with name only the first occurrence is changed. The compare_type determines how to compare the names.

Parameters:

this

a NameValueArray

compare_type

a compare type, one of CompareType

name

a name

value

a value

Returns:

Whether the this changed.

See: camel_name_value_array_append, camel_name_value_array_set




2022 vala-language.org