Invokes the constructor represented by the Progress.Reflect.Constructor instance and creates a new instance of the class. This method can only be used to invoke a public constructor. If used on a non-public constructor, the method raises an error.
Return type: Any class type
Access: PUBLIC
Applies to: Progress.Reflect.Constructor class
Syntax
Invoke ( INPUT params AS Progress.Lang.ParameterList )
|
- params
- A Progress.Lang.ParameterList instance containing the parameters for the constructor. If the constructor has no parameters, pass a ParameterList instance with its NumParameters property set to 0. If the ParameterList instance does not match the parameters for the constructor, the method raises an error.