Geting class attributes types

H

harry

Hi

I would like to have a function that will run through a class to determine
the attribute types. How would I do this?
For example,

public class ABC

private m_first as string
private m_second as integer
private m_third a string

someMethod()

end class


private function GetAttributes(theClass) as integer
'I want to pass the ABC class into this function so that I can determine
how many of the properties of the class are of type String

end function

Is there a simpler way to do this?

Harry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top