make_with_properties
Description:
[ CCode ( returns_floating_reference = true ) ]
[ Version ( since = "1.20" ) ]
public static Element? make_with_properties (string factoryname, string[]? names, Value[]? values)
[ Version ( since = "1.20" ) ]
public static Element? make_with_properties (string factoryname, string[]? names, Value[]? values)
Create a new element of the type defined by the given elementfactory.
The supplied list of properties, will be passed at object construction.
Parameters:
factoryname |
a named factory to instantiate |
names |
array of properties names |
values |
array of associated properties values |
n |
count of properties |
Returns:
new Element or |