J Jeff Johnson Nov 9, 2006 #1 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?
M Mattias Sjögren Nov 10, 2006 #2 I know how to get the fields, methods, properties, etc. from a type using reflection. How do you get the constants? Click to expand... Since you know how to retrieve fields, you know how to retrieve constants. Constants are static fields with FieldInfo.Literal = true. Mattias
I know how to get the fields, methods, properties, etc. from a type using reflection. How do you get the constants? Click to expand... Since you know how to retrieve fields, you know how to retrieve constants. Constants are static fields with FieldInfo.Literal = true. Mattias