R
Rein Petersen
Hi All,
I'm invoking Type.InvokeMember() on a COM class (via COMInterop) through
a generalized interface. However, each specialized instance (of the
COMInterop generic interface) requires slightly different arguments for
which I dynamically create the object[] arguments and it all works nicely.
Problem is, in some instances, I have methods which require certain
arguments to be referenced (ref string x,...etc). I'm not sure how I can
specify that aspect in the object[] arguments of Type.InvokeMember(...)
Is it possible? How?
Thanks in advance,
Rein
I'm invoking Type.InvokeMember() on a COM class (via COMInterop) through
a generalized interface. However, each specialized instance (of the
COMInterop generic interface) requires slightly different arguments for
which I dynamically create the object[] arguments and it all works nicely.
Problem is, in some instances, I have methods which require certain
arguments to be referenced (ref string x,...etc). I'm not sure how I can
specify that aspect in the object[] arguments of Type.InvokeMember(...)
Is it possible? How?
Thanks in advance,
Rein