Another solution:
Try Type.GetProperties() to retrieve all properties for a class and iterate
to find your property.
myPropertyInfo = Type.GetType("someClass").GetProperties();
for(int i=0;i<myPropertyInfo.Length;i++)
{
PropertyInfo myPropInfo = (PropertyInfo)myPropertyInfo;
Console.WriteLine("The property name is {0}.",
myPropInfo.Name);
Console.WriteLine("The property type is {0}.",
myPropInfo.PropertyType);
}
I hope it helps.
Lionel.