ParameterModifier bug or feature?

  • Thread starter Thread starter GP
  • Start date Start date
G

GP

Using ParameterModifier to pass arguments by reference with
Type.InvokeMember() works only with system types (DateTime, string, int,
etc.).

It doesn't work with user-defined types. The method is invoked correctly but
the value of the byref argument is not changed in the arguments array. Is
this a know bug or a known limitation?

TIA

--Gianluca
 
Back
Top