A
Axel Dahmen
Hi,
I'd like to create a generic algorithm to analyse an enum's elements for
custom attributes. All I have at hand is is a type name to create an enum
type info from. But if I call Type.GetType(enumTypeName) it returns null or
throws an exception.
Can anyone enlighten me on how to walk through an unknown enums elements to
retrieve their custom attributes?
TIA,
Axel Dahmen
I'd like to create a generic algorithm to analyse an enum's elements for
custom attributes. All I have at hand is is a type name to create an enum
type info from. But if I call Type.GetType(enumTypeName) it returns null or
throws an exception.
Can anyone enlighten me on how to walk through an unknown enums elements to
retrieve their custom attributes?
TIA,
Axel Dahmen