How to retrieve member information from a class?

Posted by Admin on 04-Nov-2009 05:18

Is it possible to retrieve information about the members of a class from its class file or its compiled version (.r file) ? What I can't find is a way to retrieve information about the members of a class like its properties,  methods and their signatures. Is there something like the internal-entries attribute and get-signature() method for procedure files to get this kind of information from a class?

All Replies

Posted by Peter Judge on 09-Nov-2009 13:56

Is it possible to retrieve information about the members of a class from its class file or its compiled version (.r file) ? What I can't find is a way to retrieve information about the members of a class like its properties,  methods and their signatures. Is there something like the internal-entries attribute and get-signature() method for procedure files to get this kind of information from a class?

The amount of information available depends on the version, but you can use the Progress.Lang.Class object in conjunction with the Progress.Lang.Object's GetClass() method. Prior to 10.2B you can only get limited information about the type.

-- peter

This thread is closed