remove_named


Description:

public uint remove_named (CompareType compare_type, string name, bool all_occurrences)

Removes elements of the this with the given name.

The compare_type determines hot to compare the names. If the all_occurrences is set to true, then every elements with the name are removed, otherwise only the first occurrence is removed.

Parameters:

this

a NameValueArray

compare_type

a compare type, one of CompareType

name

a name to remove

all_occurrences

whether to remove all occurrences of the name

Returns:

How many elements had been removed.




2022 vala-language.org