P
Picho
Hi all,
when using the GetMethod method to discover object methods at runtime, we
are suposed to pass an array of types as parameters.
My simple question is this:
how do you state that one of the parameters is by reference (i.e. void
myMethod(ref object) )?
in other words, if I have the following types array:
Type[] parmTypes = new Type[3];
parmTypes[0] = Type.GetType("System.String");
parmTypes[1] = Type.GetType("System.String");
parmTypes[2] = Type.GetType("System.String");
I wish to state that one or all of them is a 'ref' argument.
Thanx,
Picho
when using the GetMethod method to discover object methods at runtime, we
are suposed to pass an array of types as parameters.
My simple question is this:
how do you state that one of the parameters is by reference (i.e. void
myMethod(ref object) )?
in other words, if I have the following types array:
Type[] parmTypes = new Type[3];
parmTypes[0] = Type.GetType("System.String");
parmTypes[1] = Type.GetType("System.String");
parmTypes[2] = Type.GetType("System.String");
I wish to state that one or all of them is a 'ref' argument.
Thanx,
Picho