Returns an array of Progress.Reflect.Event instances describing the class events that match the specified conditions. There is no guaranteed order for the returned events. If there are no events that match the specified conditions, the method returns an indeterminate array.
GetEvents ( INPUT flags AS Progress.Reflect.Flags )
flags
A Progress.Reflect.Flags instance indicating the access mode(s), scope(s), and/or class level(s) the returned events must have. See Progress.Reflect.Flags enumeration for more information.
Notes
If there are one or more overrides of any particular event, the Progress.Reflect.event instance describes the override from the most derived subclass that overrides that event. You will NOT get multiple entries for overridden events. See GetMethod( ) method for an example of how overridden class members are handled.
GetEvents( ) only returns public, non-static events. GetEvents(flags) does return protected, private, and/or static events if they match the specified conditions, but in the case of private events, only events that are defined in the given class are returned; private events inherited from a super class are not included.
This method does not return .NET class events defined as private or internal.