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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top