Returns an array of Progress.Reflect.Property instances describing the class properties that match the specified conditions. There is no guaranteed order for the returned properties. If there are no properties that match the specified conditions, the method returns an indeterminate array.
Return type: Progress.Reflect.Property class EXTENT
Access: PUBLIC
Applies to: Progress.Lang.Class class
Syntax
GetProperties ( )
GetProperties ( INPUT flags AS Progress.Reflect.Flags )
|
- flags
- A Progress.Reflect.Flags instance indicating the access mode(s), scope(s), and/or class level(s) that the returned properties must have. See Progress.Reflect.Flags enumeration for more information.
Notes
- If there are one or more overrides of any particular property, the Progress.Reflect.Property instance describes the override from the most derived subclass that overrides that property. You will NOT get multiple entries for overridden properties. See GetMethod( ) method for an example of how overridden class members are handled.
- GetProperties( ) only returns public, non-static properties. GetProperties(flags) returns all ABL class properties based on the flags specified. However, you can only get or set properties according to the same rules as when reflection is not used. For example, you can only get or set a protected property from within the class that defines it, or from a subclass.
- This method does not return .NET class properties defined as private or internal.