Is it possible to get actual values from
System.Reflection.ParameterInfo?
I have a stackframe containing the invokation information, like which
method was invokated. But i also want to get the real values of the
parameters of this method invokation.


StackFrame recFrame = stackTrace.GetFrame(1);  
object o = recFrame.GetMethod().GetParameters();
String name = o[0].NameImpl;

// this is what I want..... but of course its not this easy
String value = o[0].Value;

Can this be done?

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to