![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Using Type.InvokeMember to call a method of a class,Which method has byref parameter,It seems that there is no way to return the changed value of that byref parameter by the method of the class. Who can save me? Thanks a lot! It may be that I don't full understand you problem, but if you pass a |
#3
| |||
| |||
|
|
-----Original Message----- "peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:01f701c3d8e6$a95e8ed0$a001280a (AT) phx (DOT) gbl... Using Type.InvokeMember to call a method of a class,Which method has byref parameter,It seems that there is no way to return the changed value of that byref parameter by the method of the class. Who can save me? Thanks a lot! It may be that I don't full understand you problem, but if you pass a parameter by reference, that gives the method in question access to the original data, thus the capability to alter the original data without having to return anything. Why would you need/want to return the changed value? -- Peter [MVP Academic] . |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |