Hi, I wanna get the value of a private member, so I wrote the following:
var f = e.
GetType().
GetFields(System.Reflection.BindingFlags.NonPublic |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.DeclaredOnly)[0];
object o = f.FieldType.GetProperty("RowIndex").GetValue(f.FieldType, null);
but the method "GetValue" needs the original object in the first parameter, and I don't have this object, because I get in runtime. Could anyone help-me?!