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

GetProperties( ) method

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) does return protected, private, and/or static properties if they match the specified conditions, although you cannot get or set the values of any private or protected properties that are returned. Only private properties that are defined in the given class are returned; private properties inherited from a super class are not included.
*This method does not return .NET class properties defined as private or internal.