G
Guest
Hi,
Can i pass integer array to methodInfo.Invoke(obj,args()). I am able to
pass only string array to this function. This is the code i have written.
Dim myType As Type = objClass.GetType()
Dim myMethod As MethodInfo = myType.GetMethod("strFnName")
myMethod.Invoke(objClass, Args)
here "strFnName" is the function name and args() is the string array. args()
is the parameter list for that function. I am not able to pass any integer
array to that function.
can anyone help me out in this regard.
Regards,
Sivaraman.S
Can i pass integer array to methodInfo.Invoke(obj,args()). I am able to
pass only string array to this function. This is the code i have written.
Dim myType As Type = objClass.GetType()
Dim myMethod As MethodInfo = myType.GetMethod("strFnName")
myMethod.Invoke(objClass, Args)
here "strFnName" is the function name and args() is the string array. args()
is the parameter list for that function. I am not able to pass any integer
array to that function.
can anyone help me out in this regard.
Regards,
Sivaraman.S