createInstance method
- Creates an instance of an object type specified by its name
- and library where it is defined.
-
name
an object type name.
-
library
a library (module) where object type is defined.
-
args
arguments for the object constructor.
- Returns the created object instance.
- See getType
- See createInstanceByType