Man, do I feel stupid...

MethodInfo pmi = tmiRef.t.GetMethod(methodName);
ParameterInfo[] pi = pmi.GetParameter("myParam");
object parseResult = System.Enum.Parse(pi.ParameterType,
                                methodArgs[i].ToString());

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