> The output value of the ref parameter will be returned in the return value:
So it is. Thanks!
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 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
I'm trying to call a C# method from IP that takes a reference to a
string as one of its parameters. I'm passing it a System.String()
object, but the string is not changed after I call the method. I know
that CPython (and presumably IP) strings are immutable so how do I get
C# to change the string