@new


Description:

public static Object @new (Type type, ...)

Creates a new instance of a Object subtype and sets its properties.

Construction parameters (see CONSTRUCT, CONSTRUCT_ONLY) which are not explicitly specified are set to their default values.

Parameters:

...

the value of the first property, followed optionally by more name/value pairs, followed by null

first_property_name

the name of the first property

object_type

the type id of the Object subtype to instantiate

Returns:

a new instance of object_type