Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : Invoke( ) method (Constructor)

Invoke( ) method (Constructor)

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 protected or private constructor, the method will raise an error.
Return type: Any class type
Access: PUBLIC
Applies to: Progress.Reflect.Constructor class


Invoke ( INPUT params AS Progress.Lang.ParameterList )
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 will raise an error.