I know how to get the fields, methods, properties, etc. from a type using
reflection. How do you get the constants?
>I know how to get the fields, methods, properties, etc. from a type using
>reflection. How do you get the constants?
Since you know how to retrieve fields, you know how to retrieve
constants. Constants are static fields with FieldInfo.Literal = true.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.