GetMethod( ) method

Returns a Progress.Reflect.Method instance describing the class method that matches the specified conditions. If there is no matching method, the method returns the Unknown value (?).

Return type: Progress.Reflect.Method class

Access: PUBLIC

Applies to: Progress.Lang.Class class

Syntax

GetMethod ( INPUT method-name AS CHARACTER,
            INPUT params AS Progress.Lang.ParameterList )

GetMethod ( INPUT method-name AS CHARACTER,
            INPUT flags AS Progress.Reflect.Flags,
            INPUT params AS Progress.Lang.ParameterList )
method-name
A CHARACTER expression that evaluates to the name of the method.
params
A Progress.Lang.ParameterList instance that describes the parameter list of the method you are looking for. If you are looking for a method that takes no parameters, pass a ParameterList instance with its NumParameters property set to 0.
flags
A Progress.Reflect.Flags instance indicating the access mode(s), scope(s), and/or class level(s) the returned method must have. See Progress.Reflect.Flags enumeration for more information.

Notes