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.
Return type: Progress.Reflect.Event class EXTENT
Access: PUBLIC
Applies to: Progress.Lang.Class class
Syntax
GetEvents ( )
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) returns all ABL class events based on the flags specified. However, you can only invoke events according to the same rules as when reflection is not used. For example, you can only invoke a protected event from within the class that defines it, or from a subclass.
- This method does not return .NET class events defined as private or internal.