[IronPython] Passing a reference to a string

John Barham jbarham at gmail.com
Tue Jun 19 19:38:03 CEST 2007


> Is it an out argument or a ref argument?

According to .NET Reflector the signature of the method I'm calling is:

public void _GetXml(..., ref string o_xml)

so I presume the o_xml parameter is a "ref argument".  Nonetheless its
(changed) value is being returned as Martin said, despite the void
return value in the signature, so I presume that IP is automagically
transforming in ref arguments to the returned value from the function.

  John



More information about the Ironpython-users mailing list