A
Adam J. Schaff
I want to write a function that takes an Object and the name of a property
of that object and returns a boolean saying whether or not the given
property is an enum. So, the signature would be thus:
Public Function IsEnumProperty(byval someObject as Object, byval
nameOfPropertyOfThatObject as
String) As Boolean
If I admit that I'm hopelessly under-informed about reflection, would
someone be nice enough to provide some sample code or point me in the right
direction?
Any help is appreciated,
AJ
of that object and returns a boolean saying whether or not the given
property is an enum. So, the signature would be thus:
Public Function IsEnumProperty(byval someObject as Object, byval
nameOfPropertyOfThatObject as
String) As Boolean
If I admit that I'm hopelessly under-informed about reflection, would
someone be nice enough to provide some sample code or point me in the right
direction?
Any help is appreciated,
AJ