Geting class attributes types

  • Thread starter Thread starter harry
  • Start date Start date
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
 
Back
Top