try following code:
var dataTypeDescriptor = DynamicTypeManager.GetDataTypeDescriptor(typeof (IPage));
foreach( var field in dataTypeDescriptor.Fields)
{
if (!field.Inherited)
{
OutPut(field.Name + " " + field.InstanceType);
if(field.InstanceType == typeof(string))
{
OutPut("Max length " + field.StoreType.MaximumLength);
}
}
}