|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reflection: enumerating constantsI 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 Since you know how to retrieve fields, you know how to retrieve>reflection. How do you get the constants? constants. Constants are static fields with FieldInfo.Literal = true. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
|||||||||||||||||||||||