Invoke( ) method (Constructor)
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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
|
- params
- A
Progress.Lang.ParameterListinstance containing the parameters for the constructor. If the constructor has no parameters, pass aParameterListinstance with itsNumParametersproperty set to 0. If theParameterListinstance does not match the parameters for the constructor, the method raises an error.