That's because they're fields, not properties. Try:
public void EnumerateConstants() {
FieldInfo[] thisObjectProperties = thisObject.GetFields();
foreach (FieldInfo info in thisObjectProperties) {
if (info.IsLiteral) {
//Constant
}
}
}
Edit: DataDink's right, it's smoother to use IsLiteral
Walt W
2009-08-20 20:24:47