Xojo.Introspection.ConstructorInfo.Invoke
From Xojo Documentation
Method
Xojo.Introspection.ConstructorInfo.Invoke(Optional params() As Auto) As Auto
Supported for all project types and targets.
Supported for all project types and targets.
Creates a new instance and invokes the target constructor on the class instance, passing in the specified parameters. Returns an Auto containing the data type of the object.
Parameters
| Parameter | Description |
|---|---|
| params() | An array of parameters to pass to the constructor. |
| Value | Desc |
| Value | Desc |
| Value | Desc |
| Value | Desc |
Exceptions
- OutOfBoundsException if the number of parameters do not match.
- IllegalCastException if the types of parameters do not match.
